// { dg-do run { target c++11 } } template struct bomb; template struct bomb { static const T value = 0; }; template struct bomb { static const T value = v + bomb::value; }; extern "C" void abort(); int main() { bomb b; if (b.value != 10) abort(); return 0; }