]> git.saurik.com Git - apple/ld64.git/blame - unit-tests/test-cases/dead_strip-archive-weak-override/foo.c
ld64-351.8.tar.gz
[apple/ld64.git] / unit-tests / test-cases / dead_strip-archive-weak-override / foo.c
CommitLineData
a645023d
A
1
2extern void bar();
3
4
5// strong definition of foo overrides weak definition
6// in main.c, but this foo needs bar()
7void foo()
8{
9 bar();
10}
11
12void loadme()
13{
14}
15