ld: Update function prototypes for compilers defaulting to -std=gnu23
[binutils-gdb.git] / ld / testsuite / ld-elf / pr25749-1.c
blob249d80fd1696f6e269ab54eebf6df1f9ef126602
1 #include <stdio.h>
2 #include <stdint.h>
4 extern intptr_t size (void);
6 int
7 main ()
9 if (size () == 299 /* size of this file */)
10 printf ("PASS\n");
11 #ifdef __GLIBC_PREREQ
12 # if !__GLIBC_PREREQ (2, 28)
13 else
14 printf ("PASS (incorrect result due to glibc bug)\n");
15 # endif
16 #endif
17 return 0;