Fix make-array transforms.
[sbcl.git] / tools-for-build / os-provides-dlopen-test.c
1 /* test to build and run so that we know if we have dlopen
2  */
3
4 #include <dlfcn.h>
5
6 int main ()
7 {
8    void * handle = dlopen((void*)0, RTLD_GLOBAL | RTLD_NOW);
9    void * addr = dlsym(handle, "printf");
10    if (addr) {
11        return 104;
12    } else {
13        return 0;
14    }
15 }