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
* doc/invoke.texi: Document -std=c++17 and -std=gnu++17 and document
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
init-statement7.C
blob
e4a598e145d4a2e8029f899cec94e9a2ca9ffe13
1
// { dg-do run }
2
// { dg-options -std=c++17 }
3
4
int
5
main ()
6
{
7
if (int i = 10, &ir = i; [=]{ return ir; }() != 10)
8
__builtin_abort ();
9
}