]>
Commit | Line | Data |
---|---|---|
53e1b683 | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
83b6af36 ZJS |
2 | |
3 | #include <dlfcn.h> | |
4 | #include <stdlib.h> | |
5 | ||
6 | #include "macro.h" | |
7 | ||
8 | int main(int argc, char **argv) { | |
9 | void *handle; | |
10 | ||
dcd6361e | 11 | assert_se(handle = dlopen(argv[1], RTLD_NOW)); |
83b6af36 ZJS |
12 | assert_se(dlclose(handle) == 0); |
13 | ||
14 | return EXIT_SUCCESS; | |
15 | } |