// PR c++/33461 // { dg-do compile { target c++11 } } template struct A; template struct A // { dg-error "" } { struct B; }; A a;