]> git.saurik.com Git - apple/ld64.git/blob - unit-tests/test-cases/weak_import-local/main.c
ld64-409.12.tar.gz
[apple/ld64.git] / unit-tests / test-cases / weak_import-local / main.c
1 #include <stddef.h>
2
3 #include "foo.h"
4
5 void* pf2 = &func2;
6 int* pd2 = &data2;
7
8 int main (void)
9 {
10 if ( &func2 != NULL )
11 func2();
12
13 if ( &data2 != NULL )
14 data2 = 1;
15
16 return 0;
17 }
18