blob: 86493eef9e47feef4e2b646c0ffc292926b14676 [file] [log] [blame]
/* Verify the auto initialization of nested VLA. */
/* { dg-do compile } */
/* { dg-options "-ftrivial-auto-var-init=pattern -fdump-tree-gimple" } */
void g(void *);
void foo(int a)
{
int x[a][a];
g(x);
}
/* { dg-final { scan-tree-dump ".DEFERRED_INIT \\(D.\\d*, 1, 1\\)" "gimple" } } */