| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */ |
| 3 |
|
| 4 |
struct f {} |
| 5 |
static int a, b; /* { dg-error "expected ';', identifier or " } */ |
| 6 |
|
| 7 |
int f() |
| 8 |
{ |
| 9 |
return a - b; /* { dg-bogus "invalid operands " } */ |
| 10 |
} |