Debian Codegraph @

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

raw
1 // PR c++/60383
2
3 template<int> struct A
4 {
5 template<typename> struct B
6 {
7 template<typename T> struct B<T*> {}; // { dg-error "specialization" }
8 };
9 };
10
11 A<0>::B<char*> b;