Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-elf / pr29797.c
blob9e3113fe98d3692e93b510281fd682890edd0cdc
1 #include <stdio.h>
3 static int foo (int x) __attribute__ ((ifunc ("resolve_foo")));
5 static int foo_impl(int x)
7 return x;
10 static void *resolve_foo (void)
12 return (void *) foo_impl;
15 int
16 main ()
18 foo (0);
19 puts ("PASS");
20 return 0;