]> git.saurik.com Git - apple/ld64.git/blob - unit-tests/test-cases/weak_import-disable/foo.c
ld64-274.1.tar.gz
[apple/ld64.git] / unit-tests / test-cases / weak_import-disable / foo.c
1
2
3
4 void 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
10 void bar() {}
11 WEAK_IMPORT_FOR_10_7(bar)
12