// [temp.spec.partial.match]/3 template struct A; template struct A {}; // { dg-error "not deducible" } template struct A {}; // OK template struct B; template struct B {}; // OK template struct B { typedef int type; }; // OK B<1, 2, 1> b1; B<1, 2, 2>::type b2; B<1, 2, 3> b3; // { dg-error "incomplete" }