// PR c++/33461 // { dg-options "-std=gnu++0x" } template struct A; template struct A // { dg-error "not expanded|T|not used|T" } { struct B; }; A a; // { dg-error "incomplete" }