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

15 lines
208 B
C
Raw Permalink Normal View History

2023-03-06 14:48:14 +01:00
/* Test calling one STT_GNU_IFUNC function with 3 different
STT_GNU_IFUNC definitions. */
#include <stdlib.h>
extern int foo1 (void);
int
main (void)
{
if (foo1 () != -1)
abort ();
return 0;
}