| 1 |
/* PR 23722 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-fsyntax-only" } */ |
| 4 |
int f() |
| 5 |
{ |
| 6 |
if (1) |
| 7 |
{ |
| 8 |
return 1; |
| 9 |
else /* { dg-error "expected .\}. before 'else'" } */ |
| 10 |
{ |
| 11 |
} |
| 12 |
} |
| 13 |
} /* { dg-error "expected identifier or '\\(' before .\}. token" } */ |