OSDN Git Service

PR tree-optimization/50730
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / two-types-7.c
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */
3
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" "" } */