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

6 lines
165 B
C

/* { dg-do compile } */
/* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */
typedef int x, y;
x struct f z; /* { dg-error "two or more " "" } */