]> git.saurik.com Git - apple/dyld.git/blob - testing/kernel-cache-tests/auxkc-missing-weak-bind/bar.c
dyld-832.7.1.tar.gz
[apple/dyld.git] / testing / kernel-cache-tests / auxkc-missing-weak-bind / bar.c
1
2 __attribute__((weak))
3 extern int weakValue;
4
5 extern int gOSKextUnresolved;
6
7 int bar() {
8 // Missing weak import test
9 if ( &weakValue != &gOSKextUnresolved )
10 return 0;
11 return weakValue;
12 }