1 // PR c++/56565 2 // { dg-do compile { target c++11 } } 3 4 struct bug { int a; int *b = [&]{ return &a; }(); }; 5