summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-vla3.C
blob: eebdbcdbb93efa54513b10ab754ba84b99940488 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/85256
// { dg-do compile { target c++11 } }
// { dg-additional-options -Wno-vla }

void foo(int i)
{
  int (*x)[i];
  [=]{ [=]{ 0 ? x : x; }; };	// { dg-bogus "sorry" "" { xfail *-*-* } }

}