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

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