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
PR c++/85262 - ICE with redundant qualification on constructor.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
else.C
blob
87ea982a81c95e585dd26f860c6cfd58444fa417
1
// { dg-do compile }
2
// { dg-options " " }
3
4
int f()
5
{
6
if (1)
7
{
8
return 1;
9
else // { dg-error "expected .\}. before 'else'" }
10
{
11
return 0;
12
}
13
}