]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/attr-ifunc-1.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / attr-ifunc-1.c
1 /* { dg-do run } */
2 /* { dg-require-ifunc "" } */
3 /* { dg-options "" } */
4
5 #include <stdio.h>
6
7 static int implementation (void)
8 {
9 printf ("'ere I am JH\n");
10 return 0;
11 }
12
13 static void *resolver (void)
14 {
15 return (void *)implementation;
16 }
17
18 extern int magic (void) __attribute__ ((ifunc ("resolver")));
19
20 int main ()
21 {
22 return magic () != 0;
23 }