]>
git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/dylib-static-weak-link.dtest/missing.c
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");