// PR c++/27572 // { dg-do compile } template struct A1; // { dg-error "no type|typedef declaration|default argument" } template struct A2; // { dg-error "type|typedef declaration|default argument" } template struct A3; // { dg-error "no type|typedef declaration|expected" } template struct A4; // { dg-error "typedef declaration|default argument" }