Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/gold/testsuite/ifuncvar3.c

15 lines
202 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
/* 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;
}