// { dg-do assemble } // Tests partial specialization template struct foo1 {}; template struct foo1; foo1 bar1; foo1 baz1; // { dg-error "" } incomplete type template struct foo2 {}; template struct foo2; foo2 bar2; foo2 baz2; // { dg-error "" } incomplete type typedef unsigned int other1_t; template struct foo3 {}; template struct foo3; foo3 bar3; foo3 baz3; // { dg-error "" } incomplete type - typedef int other2_t; template struct foo4 {}; template struct foo4; foo4 bar4; foo4 baz4; // { dg-error "" } incomplete type -