Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wvla-3.C
blob: fcfb0da902f62451b0337bec681ec11342c76ffd [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-pedantic-errors -Wno-vla" } */
/* { dg-require-effective-target alloca } */
/* { dg-require-effective-target alloca } */
void
func
(
int
i
)
{
int
array
[
i
];
}