Add new test to verify that the array index, limit, and stride are
[official-gcc.git] / gcc / testsuite / gcc.dg / two-types-9.c
blobc6da9499226a6749f461ed3eec05844b4445c717
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */
4 struct f {}
5 static int a, b; /* { dg-error "expected ';', identifier or " "" } */
7 int f()
9 return a - b; /* { dg-bogus "invalid operands " "" } */