Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/gold/testsuite/ifuncvar3.c
2023-03-06 14:48:14 +01:00

14 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;
}