PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / Wvla-4.c
blobae2e0b064a9974fcc583df8dc0492a913527ed11
1 /* { dg-do compile } */
2 /* { dg-options "-pedantic-errors -std=c99 -Wvla" } */
4 extern void
5 func (int i, int array[i]); /* { dg-warning "ISO C90 forbids variable length array 'array'" } */