OSDN Git Service

Backported from mainline
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / two-types-4.c
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */
3
4 int f()
5 {
6   struct f {
7   }
8   int z; /* { dg-error "expected ';', identifier or " "" } */
9 }