PR c++/82069 - ICE with lambda in template
[official-gcc.git] / gcc / testsuite / gcc.dg / Wvla-7.c
blob4c264f0d8a369046b90d12631d56f2af25aa86b5
1 /* { dg-do compile } */
2 /* { dg-options "-pedantic-errors -std=c89 -Wvla" } */
4 extern void
5 func (int i, int [i]); /* { dg-error "ISO C90 forbids variable" } */