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

14 lines
194 B
C

#include <stdio.h>
int foo = 1;
extern int *bar (void);
extern int bar_ifunc (void);
int
main (void)
{
if (bar () == &foo && bar_ifunc () == 0xbadbeef)
printf ("PASS\n");
return 0;
}