blob: 95e452dfc700af6f796d637955625e9a001f6788 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-Wvla" } */
/* { dg-require-effective-target alloca } */
void func (int i)
{
int array[i]; /* { dg-warning "7:variable length array 'array' is used" } */
}