OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/9335
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
else-2.C
1
// { dg-do compile }
2
// { dg-options " " }
3
4
int f()
5
{
6
7
else // { dg-error "'else' without a previous 'if'" }
8
{
9
return 0;
10
}
11
}