repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash52.C
blob
9fc3f683385f105b4a82cc64b0a1f0aa7f261b71
1
// PR c++/27665
2
3
template<int> struct A
4
{
5
struct B
6
{
7
struct C {};
8
};
9
};
10
11
template<int N> void foo()
12
{
13
class A<N>::B::C X;
14
}
15
16
void bar()
17
{
18
foo<0>();
19
}