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 // { dg-message "recursively instantiated" "" { target *-*-* } 5 }
8 template struct X<1000>;