]> git.saurik.com Git - apple/dyld.git/blame - unit-tests/test-cases/read-only-import-shared-cache-dlopen-override/main.c
dyld-360.22.tar.gz
[apple/dyld.git] / unit-tests / test-cases / read-only-import-shared-cache-dlopen-override / main.c
CommitLineData
2028a915
A
1#include <dlfcn.h>
2
3#include "test.h"
4
5int 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