binutils-gdb/gold/testsuite/ifuncvar3.c

15 lines
202 B
C

/* Test global variable initialized to hidden STT_GNU_IFUNC symbol. */
#include <assert.h>
extern void bar (void);
extern int didit;
int
main (void)
{
bar ();
assert (didit == 1);
return 0;
}