]> git.saurik.com Git - apple/ld64.git/blame - unit-tests/test-cases/weak_import3/main.c
ld64-95.8.4.tar.gz
[apple/ld64.git] / unit-tests / test-cases / weak_import3 / main.c
CommitLineData
a61fdf0a
A
1
2#include "foo.h"
3
4
5int* pdata5 = &data5;
6int* pdata6 = &data6;
7
8
9int main (void)
10{
11 // make non-lazy reference to func3 and func4
12 if ( &func3 == &func4 ) {
13 // make lazy reference to func3 and func4
14 func1();
15 func2();
16 }
17
18 return data1 + data2 + data3 + data4;
19}
20