Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
];
}