2 { // { dg-error "forward declaration" }
3 A : A; // { dg-error "expected|incomplete" }
4 A : B; // { dg-error "not declared|incomplete" }
5 A : A(); // { dg-error "undefined type|incomplete" }
6 A : B(); // { dg-error "function call|incomplete" }
7 A : A[]; // { dg-error "expected|array reference|incomplete" }
8 A : B[]; // { dg-error "not declared|expected|array reference|incomplete" }