2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / two-types-7.c
blobf7a28d9c20d74905045946b3f3232661d14192e1
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" } */