[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / two-types-9.c
blob0234c55b01fb0eba63c0973dce22c8cad4f575f4
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 " } */