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++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
init
/
goto2.C
blob
f95214f387847d36102cbe1750e8f7884d0c40dc
1
// PR c++/20721
2
3
bool f();
4
void g(int i)
5
{
6
if (i) goto bad; // { dg-message "from" }
7
bool a = f(); // { dg-message "initialization" }
8
bad: // { dg-error "jump" }
9
;
10
}
11