Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / c-c++-common / auto-init-15.c
blob77710a961747345a1f284543baee7f394455c41b
1 /* Verify the auto initialization of nested VLA. */
2 /* { dg-do compile } */
3 /* { dg-options "-ftrivial-auto-var-init=zero -fdump-tree-gimple" } */
4 /* { dg-require-effective-target alloca } */
6 void g(void *);
8 void foo(int a)
10 int x[a][a];
11 g(x);
14 /* { dg-final { scan-tree-dump ".DEFERRED_INIT \\(D.\\d*, 2, \&\"x\"" "gimple" } } */