repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash12.C
blob
e2231e06b9174d8bb27da1c30ad45a5ef2f4c1d6
1
// { dg-do compile }
2
3
// Origin: rmerkert@alphatech.com
4
// Volker Reichelt <reichelt@gcc.gnu.org>
5
6
// PR c++/12495: ICE looking up class template in local class.
7
8
template <typename> struct A {};
9
10
template <typename T> void foo()
11
{
12
struct B
13
{
14
B (const A<T>&);
15
};
16
}