libgfortran/ChangeLog:
[official-gcc.git] / gcc / testsuite / gcc.dg / parse-else-error.c
blobca20bdf9ff6dc764d9a479010ff089e8d5fc8256
1 /* PR 23722 */
2 /* { dg-do compile } */
3 /* { dg-options "-fsyntax-only" } */
4 int f()
6 if (1)
8 return 1;
9 else /* { dg-error "expected .\}. before 'else'" } */