blob: ae2e0b064a9974fcc583df8dc0492a913527ed11 (
plain)
1
2
3
4
5
|
/* { dg-do compile } */
/* { dg-options "-pedantic-errors -std=c99 -Wvla" } */
extern void
func (int i, int array[i]); /* { dg-warning "ISO C90 forbids variable length array 'array'" } */
|