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