// PR c++/51402 template struct A // { dg-error "not a valid type" } { template struct B {}; template struct B {}; };