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

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