summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/warn/Wvla-3.C
blob: 259c576b29f8a4e03d57e1402269c83f16d30f69 (plain)
1
2
3
4
5
6
7
/* { dg-do compile } */
/* { dg-options "-pedantic-errors -Wno-vla" } */

void func (int i)
{
  int array[i];
}