repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ld: Update function prototypes for compilers defaulting to -std=gnu23
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-elf
/
pr25749-1.c
blob
249d80fd1696f6e269ab54eebf6df1f9ef126602
1
#include <stdio.h>
2
#include <stdint.h>
3
4
extern
intptr_t
size
(
void
);
5
6
int
7
main
()
8
{
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
;
18
}