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