Add new test to verify that the array index, limit, and stride are
[official-gcc.git] / gcc / testsuite / gcc.dg / wvla-6.c
blobf21435b02a844137349d02c7110bc2b446e00383
1 /* { dg-do compile } */
2 /* { dg-options "-std=c89 -Wvla" } */
4 extern void
5 func (int i, int [i]); /* { dg-warning "variable length array is used" } */