Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / parse-else-error-2.c
blobce59af3813e9a6c4e70eb93a0c9decfdb25f095c
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'" } */
13 } /* { dg-error "expected identifier or '\\(' before .\}. token" } */