aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr77754-6.c
blob: 1b4304381ceae0abf3c9070fa250aa18fb5a9353 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-require-effective-target alloca }
/* PR c/77754 */

int fn3();

void fn4(int (*)[fn3 ()][fn3 () + 1][fn3 () + 2], struct S { int a[fn3 ()]; } *);

void fn1() {
  int a[10][fn3 ()][fn3 () + 1][fn3 () + 2];
  fn4 (a, 0);
}