// PR c++/105425 // { dg-do compile { target c++11 } } template struct when; template struct A; template struct A>; // #1 template struct A> {}; // #2 A> a1; // { dg-error "incomplete" } A> a2; A> a3; A> a4; // { dg-error "incomplete" }