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