]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/weak-lazy-slidable/foo.c
dyld-750.5.tar.gz
[apple/dyld.git] / unit-tests / test-cases / weak-lazy-slidable / foo.c
1 #include <stdbool.h>
2
3
4
5 extern bool bar1();
6
7
8 __attribute__((weak)) bool bar1()
9 {
10 return false;
11 }
12
13 __attribute__((weak)) bool bar2()
14 {
15 return true;
16 }
17
18
19 bool foo1()
20 {
21 return bar1();
22 }
23
24 bool foo2()
25 {
26 return bar2();
27 }
28
29