aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/wvla-2.c
blob: d811a112f077da82fd9a59c7dd6d69abf247ec3c (plain)
1
2
3
4
5
/* { dg-do compile } */
/* { dg-options "-std=c99 -Wvla" } */

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