tcl global directive outside proc body does nothing (ld)
[deliverable/binutils-gdb.git] / ld / testsuite / ld-ifunc / pr18841c.c
1 void foo() __attribute__((ifunc("resolve_foo")));
2
3 static void foo_impl() {}
4 extern void zoo(void);
5 void (*pz)(void) = zoo;
6
7 void test()
8 {
9 void (*pg)(void) = foo;
10 pg();
11 }
12
13 static void* resolve_foo()
14 {
15 pz();
16 return foo_impl;
17 }
This page took 0.02915 seconds and 4 git commands to generate.