1 #include <dlfcn.h> 2 #include <assert.h> 3 main()4 int main() { 5 int i = 0; // break here 6 // dlopen the 'other' test executable. 7 int h = dlopen("other", RTLD_LAZY); 8 assert(h && "dlopen failed?"); 9 return i; // break after dlopen 10 } 11