]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/weak_import/foo.c
dyld-851.27.tar.gz
[apple/dyld.git] / unit-tests / test-cases / weak_import / foo.c
1
2
3 #include "foo.h"
4
5 void func1() {}
6 void func3() {}
7 int data1 = 0;
8 int data3;
9 int data5 = 0;
10
11 #if ALL_SYMBOLS
12 void func2() {}
13 void func4() {}
14
15 int data2 = 0; // weak_import initialized
16 int data4; // weak_import uninitialized
17 int data6 = 0; // weak_import
18 #endif
19