1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// PR c++/43502 // { dg-options "-std=c++0x -fcompare-debug" } void g (int n) { int bef ([]{return 0;}()); } struct S { void f (int = []{return 0;}(), int = [] { return 0;}()); }; int main () { S ().f (); return 0; }