1/* Related to PR 19484.  */
2/* { dg-require-effective-target trampolines } */
3
4extern void foo (void) __attribute__((noreturn));
5int n;
6
7void
8g (void)
9{
10  __label__ lab;
11  void h (void) { if (n == 2) goto lab; }
12  void (*f1) (void) = foo;
13  void (*f2) (void) = h;
14
15  f2 ();
16  if (n)
17    f1 ();
18  n = 1;
19 lab:
20  n++;
21}
22