Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/pr22269-1.c

10 lines
100 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
extern int foo __attribute ((weak));
int
_start (void)
{
if (&foo)
return foo;
return 0;
}