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