Retro68/binutils/gold/testsuite/ver_test_pr16504_b.c

11 lines
175 B
C
Raw Normal View History

2018-12-28 15:25:28 +00:00
void
new_foo(void);
__asm__(".symver new_foo,foo@VER2");
static void (*resolve_foo(void)) (void)
{
return new_foo;
}
void foo(void) __attribute__((ifunc("resolve_foo")));