blob: 606d3e3049b2e034334066ceb0932104881c5dc0 [file] [log] [blame]
// PR c++/34491
template<typename> struct A;
template<0> struct A<int> // { dg-error "expected|template|anonymous" }
{
static const int i = 0;
};
int n = A<int>::i; // { dg-error "incomplete type" }