]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/read-only-import-shared-cache-dlopen-override/main.c
dyld-551.4.tar.gz
[apple/dyld.git] / unit-tests / test-cases / read-only-import-shared-cache-dlopen-override / main.c
1 #include <dlfcn.h>
2
3 #include "test.h"
4
5 int main()
6 {
7 // dynamically load libz.dylib which imports _malloc from libSystem
8 dlopen("/usr/lib/libz.dylib", RTLD_LAZY);
9
10
11 PASS("read-only-import-shared-cache-dlopen-override");
12 return 0;
13 }
14