summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wvla-6.c
blob: 694a4cc16ca0b5157f5be611324272d3573869d8 (plain)
1
2
3
4
5
/* { dg-do compile } */
/* { dg-options "-std=c89 -Wvla" } */

extern void 
func (int i, int [i]); /* { dg-warning "ISO C90 forbids variable length array" } */