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