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

12 lines
149 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
#include <stdio.h>
extern void *__executable_start;
int
main()
{
if ((void **) &main >= &__executable_start)
printf ("OK\n");
return 0;
}