]>
git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/dlopen-dyld.dtest/main.c
2 // BUILD: $CC main.c -o $BUILD_DIR/dlopen-dyld.exe
4 // RUN: ./dlopen-dyld.exe
11 #include "test_support.h"
14 int main(int argc
, const char* argv
[], const char* envp
[], const char* apple
[])
16 void* handle
= dlopen("/usr/lib/dyld", RTLD_LAZY
);
20 FAIL("dlopen-dyld: dlopen() should have failed");