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
/cp
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
lambda-init.C
blob
b474893be8cee44cf63b718080bb57472a93ee5a
1
// Test for the explicit initializer extension of C++14
2
// { dg-do compile { target c++14 } }
3
4
int main()
5
{
6
int j = [i = 2]{sizeof(i); return i;}();
7
return (j != 2);
8
}