☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-vla3.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-vla3.C
code
plain
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
}