blob: aa9d7fab68a69aef098aef2b63d14f05d2432245 [file] [log] [blame]
/* Verify the auto initialization of nested VLA. */
/* { dg-do compile } */
/* { dg-options "-ftrivial-auto-var-init=zero -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*, 2, 1\\)" "gimple" } } */