1 // PR c++/25858 2 3 namespace N { 4 template<int> struct A {}; 5 } 6 7 struct B N::A<0> {}; // { dg-error "invalid" } 8