]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.c-torture/compile/pr77754-6.c
[testsuite] Add missing dg-require-effective-target alloca
[thirdparty/gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr77754-6.c
CommitLineData
571df8aa 1// { dg-require-effective-target alloca }
33d01d64 2/* PR c/77754 */
3
4int fn3();
5
6void fn4(int (*)[fn3 ()][fn3 () + 1][fn3 () + 2], struct S { int a[fn3 ()]; } *);
7
8void fn1() {
9 int a[10][fn3 ()][fn3 () + 1][fn3 () + 2];
10 fn4 (a, 0);
11}