c++: #pragma target and deferred instantiation [PR115403]
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr70190.c
blob6c57b509f6a5ec9b680160675a0cebcd6ab1b515
1 /* { dg-require-effective-target indirect_jumps } */
2 /* { dg-require-effective-target label_values } */
5 int
6 fn1 ()
8 static char a[] = "foo";
9 static void *b[] = { &&l1, &&l2 };
10 goto *(b[1]);
11 l1: goto *(void*)(__INTPTR_TYPE__)(a[0]);
12 l2: return 0;