repo.or.cz
/
darwin-xtools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
123.2
[darwin-xtools.git]
/
ld64
/
unit-tests
/
test-cases
/
symbol-hiding-umbrella
/
foo.c
blob
d946cb4ccd88a7b5254395ac0d41a340f8ef2e21
1
2
void
foo
() {}
3
4
#define SYMBOL_NOT_HERE_IN_10_6(sym) \
5
extern const char sym##_tmp __asm(
"$ld$hide$os10.6$_"
#sym ); const char sym##_tmp = 0;
6
7
SYMBOL_NOT_HERE_IN_10_6
(
bar
)