Let tree_single_nonzero_warnv_p use range information
[official-gcc.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" } */