3 /* This would not ICE. */
4 namespace M { } /* { dg-error "previous declaration" } */
5 struct M; /* { dg-error "redeclared as different kind of symbol" } */
6 M *p; /* { dg-error "expected constructor" } */
8 /* This would ICE when processing 'p'. */
9 namespace N { } /* { dg-error "previous declaration" } */
10 struct N; /* { dg-error "redeclared as different kind of symbol" } */
11 struct N* p; /* { dg-error "redeclared as different kind of symbol|invalid type" } */