1 /* { dg-require-effective-target trampolines } */
6 extern int foo (int, int, int (*) (int, int, int, int, int, int, int));
16 int nested (int a
, int b
, int c
, int d
, int e
, int f
, int g
)
18 z
= c
+ d
+ e
+ f
+ g
;
26 for (i
= 0; i
< 10; ++i
)
30 for (j
= 0; j
< 10; ++j
)
34 for (k
= 0; k
< 10; ++k
)
35 sum
+= foo (i
, j
> k
? j
- k
: k
- j
, nested
);
49 foo (int a
, int b
, int (* fp
) (int, int, int, int, int, int, int))
51 return fp (a
, b
, a
, b
, a
, b
, a
);