aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr25749-1.c
blob: 12d0574a013391595dab708e128cb9d83d0f83f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <stdio.h>
#include <bfd_stdint.h>

extern intptr_t size (void);

int
main ()
{
  if (size () == 303 /* size of this file */)
    printf ("PASS\n");
#ifdef __GLIBC_PREREQ
# if !__GLIBC_PREREQ (2, 28)
  else
    printf ("PASS (incorrect result due to glibc bug)\n");
# endif
#endif
  return 0;
}