aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/ver_test_pr16504_b.c
blob: e6d82b6d37e354ddb52905d059d3b0d3ede565ce (plain)
1
2
3
4
5
6
7
8
9
10
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")));