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