Retro68/binutils/gold/testsuite/ifuncvar2.c

13 lines
176 B
C

/* 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 ();
}