aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/init/array24.C
blob: 2d72df40382b681d984f0fb35e822d16509e58ff (plain)
1
2
3
4
5
6
7
// PR c++/29175
// { dg-options "-Wno-vla" }

void foo(int i)
{
  int x[][i] = { 0 };
}