//PR c++/27397 template struct A; // { dg-error "token" } template struct B { template struct C; // { dg-error "token" } }; A a; // { dg-error "type/value mismatch|constant|declaration" }