1 /* Redeclarations of class names. */
2 /* { dg-do compile } */
6 @class foo; /* { dg-error "redeclared as different kind of symbol" } */
7 /* { dg-error "previous declaration of" "" { target *-*-* } 4 } */
12 @end /* { dg-error "redeclared as different kind of symbol" } */
13 /* { dg-error "previous declaration of" "" { target *-*-* } 9 } */
18 @end /* { dg-error "redeclared as different kind of symbol" } */
19 /* { dg-error "previous declaration of" "" { target *-*-* } 15 } */
20 /* { dg-warning "annot find interface declaration" "" { target *-*-* } 18 } */