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