1 // PR c++/28058
2 
3 template<int> struct A
4 {
AA5   A() {}
6 };
7 
8 A<0> a;
9 
A()10 template<> A<0>::A() {} // { dg-error "specialization" }
11