summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-104403.C
blob: f231d3ea2c9932914ce20e82e346ed603d2e0db4 (plain)
1
2
3
4
5
6
7
8
// PR c++/104403
// { dg-do compile { target c++11 } }

int
main ()
{
  []{ switch (0) { case 0: static int value; return &value; } };
}