summaryrefslogtreecommitdiff
path: root/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" } */