1 // PR c++/38634 2 3 template<int> struct A 4 { 5 A(); 6 }; 7 A()8 template<int N, char> A<N>::A() // { dg-error "template|required" } 9 { 10 struct B {}; 11 } 12 13 A<0> a; 14