]> git.saurik.com Git - apple/dyld.git/blame - unit-tests/test-cases/weak-lazy-slidable/foo.c
dyld-353.2.1.tar.gz
[apple/dyld.git] / unit-tests / test-cases / weak-lazy-slidable / foo.c
CommitLineData
39a8cd10
A
1#include <stdbool.h>
2
3
4
5extern 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
19bool foo1()
20{
21 return bar1();
22}
23
24bool foo2()
25{
26 return bar2();
27}
28
29