gcc/
[official-gcc.git] / gcc / testsuite / gcc.dg / wvla-4.c
blob8c15292edacec7591153463a041b7c2523f2db29
1 /* { dg-do compile } */
2 /* { dg-options "-pedantic-errors -std=c99 -Wvla" } */
4 extern void
5 func (int i, int array[i]); /* { dg-warning "variable length array 'array' is used" } */