1 // PR c++/37649 2 3 struct A 4 { 5 template<int> struct {}; // { dg-error "template class without a name" } 6 }; 7