Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-vla3.C
blob: eebdbcdbb93efa54513b10ab754ba84b99940488 [
file
] [
log
] [
blame
]
// 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 *-*-* } }
}