repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.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" } */