]>
git.saurik.com Git - apple/ld64.git/blob - unit-tests/test-cases/weak_import-force/main.c
3b9cdff537a2762764af637ae6506d8f67c8d76c
14 // make external relocation to foo_data1 and bar_data1
15 int* pfoo
= &foo_data1
;
16 int* pbar
= &bar_data1
;
21 // make non-lazy reference to foo1 and bar1
22 if ( &foo1
== &bar1
) {
23 // make lazy reference to foo2 and bar2
28 // make non-lazy reference to foo_data2 and bar_data2
29 return *pfoo
+ *pbar
+ foo_data2
+ bar_data2
;