PR libstdc++/70940 make pmr::resource_adaptor return aligned memory
[official-gcc.git] / gcc / testsuite / gcc.dg / Wvla-3.c
blob45132fa6b1852517868d87e70a1b510a86e15265
1 /* { dg-do compile } */
2 /* { dg-options "-pedantic-errors -std=c89 -Wvla" } */
4 extern void
5 func (int i, int array[i]); /* { dg-error "ISO C90 forbids variable.* array 'array'" } */