repo.or.cz
/
binutils
/
dougsmingw.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gas:
[binutils/dougsmingw.git]
/
ld
/
testsuite
/
ld-elfweak
/
main.c
blob
5ea170c8b0556ebe0b39b32e9cf1b048fd815675
1
#include <stdio.h>
2
3
#pragma weak foo
4
5
extern
void
foo
();
6
extern
void
foobar
();
7
8
void
9
foo
()
10
{
11
printf
(
"weak foo
\n
"
);
12
}
13
14
int
15
main
()
16
{
17
foobar
();
18
return
0
;
19
}