1 /* { dg-do compile } */ 2 /* { dg-options "-pedantic-errors -std=c89 -Wvla" } */ 3 4 extern void 5 func (int i, int array[i]); /* { dg-error "ISO C90 forbids variable.* array 'array'" } */ 6