Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/pr25749-1.c
2023-03-06 14:48:14 +01:00

18 lines
299 B
C

#include <stdio.h>
#include <stdint.h>
extern intptr_t size (void);
int
main ()
{
if (size () == 299 /* 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;
}