]>
git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/dylib-static-weak-link.dtest/missing.c
c6330478e1fd4d3cd4e7222438247ee5e2f122f9
4 extern int foo
__attribute__((weak_import
));
9 printf("[BEGIN] dylib-static-weak-link missing\n");
10 // dylib won't be found at runtime, so &foo should be NULL
12 printf("[PASS] dylib-static-weak-link missing\n");
14 printf("[FAIL] dylib-static-weak-link missing, &foo != NULL\n");