gcc/gcc/testsuite/gcc.dg/two-types-5.c

7 lines
235 B
C

/* { dg-do compile } */
/* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */
struct f {}
struct g {} /* { dg-error "expected ';', identifier or " "" } */
int f(); /* { dg-error "expected ';', identifier or " "" } */