1 /* { dg-require-effective-target trampolines } */
3 extern int foo (int, int, int (*) (int, int, int, int, int, int, int));
13 int nested (int a
, int b
, int c
, int d
, int e
, int f
, int g
)
15 z
= c
+ d
+ e
+ f
+ g
;
23 for (i
= 0; i
< 10; ++i
)
27 for (j
= 0; j
< 10; ++j
)
31 for (k
= 0; k
< 10; ++k
)
32 sum
+= foo (i
, j
> k
? j
- k
: k
- j
, nested
);
46 foo (int a
, int b
, int (* fp
) (int, int, int, int, int, int, int))
48 return fp (a
, b
, a
, b
, a
, b
, a
);