Debian Codegraph @

gcc/testsuite/g++.dg/template/crash63.C

raw
1 // PR c++/29729
2
3 template<typename T> void foo(T)
4 {
5 struct A
6 {
7 template<int> struct B // { dg-error "local class" }
8 {
9 typedef B<0> C;
10 }
11 };
12 }