// PR c++/34603 template struct A; // { dg-error "declaration" } template A::A( struct A; // { dg-error "definition|expected|incomplete" }