1// PR c++/34491 2 3template<typename> struct A; 4 5template<0> struct A<int> // { dg-error "expected|template|anonymous" } 6{ 7 static const int i = 0; 8}; 9 10int n = A<int>::i; // { dg-error "incomplete type" } 11