summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/wvla-4.c
blob: 8c15292edacec7591153463a041b7c2523f2db29 (plain)
1
2
3
4
5
/* { dg-do compile } */
/* { dg-options "-pedantic-errors -std=c99 -Wvla" } */

extern void 
func (int i, int array[i]); /* { dg-warning "variable length array 'array' is used" } */