1 // Test for the explicit initializer extension of C++14 2 // { dg-do compile { target c++14 } } 3 main()4 int main() 5 { 6 int j = [i = 2]{sizeof(i); return i;}(); 7 return (j != 2); 8 } 9