repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
init
/
goto2.C
blob
3f4ecc04cf9a65c650fbaaa7765e13a025f3b688
1
// PR c++/20721
2
3
bool f();
4
void g(int i)
5
{
6
if (i) goto bad; // { dg-error "from" }
7
bool a = f(); // { dg-error "initialization" }
8
bad: // { dg-error "jump" }
9
;
10
}
11