]>
git.saurik.com Git - apple/ld64.git/blame - unit-tests/test-cases/weak_import-local/main.c
Commit | Line | Data |
a645023d A |
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 | |