Merged r158465 through r158660 into branch.
[official-gcc.git] / gcc / testsuite / g++.dg / template / recurse2.C
blobcf085e0d553bbd72837bb55239f7d9daa04613f6
1 // PR c++/9335
2 // We should not see an error about non-constant initialization.
4 template <int N> struct X {
5     static const int value = X<N-1>::value; // { dg-error "instantiation|incomplete" }
6 };
7 template struct X<1000>;