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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
parse-else-error-3.c
blob
13666f595dd6ea3844199fe61e9268b05265a1af
1
/* PR 23722 */
2
/* { dg-do compile } */
3
/* { dg-options "-fsyntax-only" } */
4
int
f
()
5
{
6
7
else
/* { dg-error "'else' without a previous 'if'" } */
8
{
9
return
0
;
10
}
11
}