Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
vla6.C
blob: fc009cbea18eff89fad4bae31bdce4e8b4a9724b [
file
] [
log
] [
blame
]
// PR c++/57404
// { dg-do compile { target c++11 } }
// { dg-options "-g" }
// { dg-require-effective-target alloca }
void
f
(
int
i
)
{
int
a
[
i
];
[&
a
]
{};
}
void
g
(
int
i
)
{
int
a
[
i
];
[&
a
]
{}
();
}