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