aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr14525.c
blob: 082eb87bef219bc3fb830afb211032e7ce7e2d7d (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>

extern void *__executable_start;
 
int
main()
{
  if ((void **) &main >= &__executable_start)
    printf ("OK\n");
  return 0;
}