PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / nestfunc-1.c
blob29ccfc399bd725e368abedbb22d1978e7fc65779
1 /* { dg-require-effective-target trampolines } */
3 int
4 g (int a, int b, int (*gi) (int, int))
6 if ((*gi) (a, b))
7 return a;
8 else
9 return b;
12 f ()
14 int i, j;
15 int f2 (int a, int b)
17 return a > b;
20 if (g (1, 2, f2) != 2)
21 abort ();
24 main ()
26 f ();
27 exit (0);