2 /* { dg-require-ifunc "" } */
3 /* { dg-options "" } */
7 static int __attribute__((noinline
))
8 implementation (void *ptr
)
11 return ((int (*) (void *))ptr
) (0);
13 printf ("'ere I am JH\n");
17 static void *resolver (void)
19 return (void *)implementation
;
22 extern int magic (void *) __attribute__ ((ifunc ("resolver")));
26 return magic ((void *)magic
);