Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/lambda/lambda-vla3.C

raw
1 // PR c++/85256
2 // { dg-do compile { target c++11 } }
3 // { dg-additional-options -Wno-vla }
4
5 void foo(int i)
6 {
7 int (*x)[i];
8 [=]{ [=]{ 0 ? x : x; }; }; // { dg-bogus "sorry" "" { xfail *-*-* } }
9
10 }