// { dg-do compile { target c++11 } } template struct A; template struct A // { dg-error "not expanded|T|" } { static int i; }; A a; // { dg-error "incomplete" } A b; // { dg-error "incomplete" }