| 10 | func_t g_three; |
| 11 | |
| 12 | void* open_lib() { |
| 13 | void* handle = dlopen("libside.so", RTLD_NOW|RTLD_GLOBAL); |
| 14 | if (!handle) { |
| 15 | printf("dlerror: %s\n", dlerror()); |
| 16 | assert(handle); |
| 17 | } |
| 18 | printf("dlopen returned: %p\n", handle); |
| 19 | return handle; |
| 20 | } |
| 21 | |
| 22 | static void test_order1() { |
| 23 | void* handle = open_lib(); |
no test coverage detected