PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / pr28284.C
blob7ef9aa12b2b33d4efb64909468bd29c1017e239b
1 /* { dg-do compile } */
3 template<int> struct A
5   static const int i=x; /* { dg-error "was not declared in this scope" } */
6   static const int j, k;
7 };
9 template<int N> const int A<N>::j = i;
10 template<int N> const int A<N>::k = j;
12 A<0> a;