mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
12 lines
149 B
C
12 lines
149 B
C
|
#include <stdio.h>
|
||
|
|
||
|
extern void *__executable_start;
|
||
|
|
||
|
int
|
||
|
main()
|
||
|
{
|
||
|
if ((void **) &main >= &__executable_start)
|
||
|
printf ("OK\n");
|
||
|
return 0;
|
||
|
}
|