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