Fix "maint print" error messages
[binutils-gdb.git] / gold / testsuite / ifuncmod6.c
blobd324a82d5eaac260f260fbe6a20cfcfdc9a4128f
1 /* Test STT_GNU_IFUNC symbol reference in a shared library. */
3 extern int foo (void);
5 typedef int (*foo_p) (void);
7 extern foo_p get_foo_p (void);
8 extern int call_foo (void);
10 extern foo_p foo_ptr;
12 foo_p
13 get_foo_p (void)
15 return foo_ptr;
18 int
19 call_foo (void)
21 return foo ();