2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / two-types-7.c
blob981c69b569ef09b19c21e271c99f5af0438e2938
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */
4 struct s {
5 struct f {}
6 enum a { X } /* { dg-error "expected ';', identifier or " "" } */
7 struct g {} /* { dg-error "expected identifier " "" } */
8 }; /* { dg-warning "no semicolon" "" } */