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-x86-64
/
pr19704a.c
blob
aa52e0011d2c8c9e40ac4ad924a0186250a03b7d
1
#include <stdio.h>
2
3
extern
int
__attribute__
((
weak
))
fun
(
void
);
4
5
int
6
main
(
void
)
7
{
8
if
(&
fun
!=
0
)
9
fun
();
10
else
11
printf
(
"Weak undefined
\n
"
);
12
return
0
;
13
}