/// We also check that this works in the main executable.
///
-#ifdef RTLD_SELF
int foo()
{
(*sym)();
}
-#endif
int main()
{
-#ifdef RTLD_SELF
trySO("test.bundle");
trySO("test.dylib");
}
PASS("dlsym-RTLD_SELF bundle and dylib");
-#else
- XFAIL("dlsym-RTLD_SELF not implemented");
-#endif
return EXIT_SUCCESS;
}