1 // PR c++/13451 2 3 template <class T> 4 struct A { 5 struct B; 6 struct A::B { }; // { dg-error "" } 7 }; 8