1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */
6 enum a { X } /* { dg-error "expected ';', identifier or " "" } */
7 struct g {} /* { dg-error "expected identifier " "" } */
8 }; /* { dg-warning "no semicolon" "" } */