1 /* { dg-do run { target heap_trampoline } } */
2 /* { dg-options "-ftrampoline-impl=heap" } */
4 __attribute__((noipa
)) int
14 int foo (int x
) { if (x
!= 42) __builtin_abort (); return ++a
; }
15 if (bar (foo
) != 2 || a
!= 1)
17 if (bar (foo
) != 3 || a
!= 2)
20 if (bar (foo
) != 44 || a
!= 43)