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