]> git.saurik.com Git - apple/ld64.git/blame - unit-tests/test-cases/weak_import3/foo.c
ld64-95.2.12.tar.gz
[apple/ld64.git] / unit-tests / test-cases / weak_import3 / foo.c
CommitLineData
a61fdf0a
A
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