Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git] / main / gcc / testsuite / gcc.dg / parse-else-error-3.c
blob13666f595dd6ea3844199fe61e9268b05265a1af
1 /* PR 23722 */
2 /* { dg-do compile } */
3 /* { dg-options "-fsyntax-only" } */
4 int f()
7 else /* { dg-error "'else' without a previous 'if'" } */
9 return 0;