Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/lambda-init.C

raw
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 }