mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +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;
|
||
|
}
|