blob: 606d3e3049b2e034334066ceb0932104881c5dc0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// 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" }
|