repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Let tree_single_nonzero_warnv_p use range information
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
parse-else-error-2.c
blob
ce59af3813e9a6c4e70eb93a0c9decfdb25f095c
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" } */