]> git.saurik.com Git - apple/ld64.git/blame - unit-tests/test-cases/weak_import-disable/foo.c
ld64-409.12.tar.gz
[apple/ld64.git] / unit-tests / test-cases / weak_import-disable / foo.c
CommitLineData
0a8dc3df
A
1
2
3
4void foo() {}
5
6
7#define WEAK_IMPORT_FOR_10_7(sym) \
8 extern const char sym##_tmp __asm("$ld$weak$os10.7$_" #sym ); const char sym##_tmp = 0;
9
10void bar() {}
11WEAK_IMPORT_FOR_10_7(bar)
12