1 2 3 4 5 6 7 8
// Test for the explicit initializer extension // { dg-options "-std=c++0x" } int main() { int j = [i = 2]{sizeof(i); return i;}(); return (j != 2); }