aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nsdmi2.C
blob: 73106d78b7b702e1015fba5bb91c786af22f68c3 (plain)
1
2
3
4
// PR c++/56565
// { dg-do compile { target c++11 } }

struct bug { int a; int *b = [&]{ return &a; }(); };