Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/gold/testsuite/ifuncvar2.c

13 lines
176 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
/* Test global variable initialized to hidden STT_GNU_IFUNC symbol. */
extern void foo (void);
void (*f) (void) = &foo;
extern void bar (void);
void
bar (void)
{
f ();
}