2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20050122-2.c
blob1e297be8cb6ba06091e87c2c75e7583a7f905e0e
1 /* Related to PR 19484. */
2 /* { dg-require-effective-target trampolines } */
4 extern void foo (void) __attribute__((noreturn));
5 int n;
7 void
8 g (void)
10 __label__ lab;
11 void h (void) { if (n == 2) goto lab; }
12 void (*f1) (void) = foo;
13 void (*f2) (void) = h;
15 f2 ();
16 if (n)
17 f1 ();
18 n = 1;
19 lab:
20 n++;