blob: a223f36834ce1bf99f285546329e955d23dce8ba [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#include <dlfcn.h>
2#include <stdio.h>
3
4int
5main (void)
6{
7 if (dlopen ("nodlopenmod2.so", RTLD_LAZY) != NULL)
8 {
9 puts ("opening \"nodlopenmod2.so\" succeeded, FAIL");
10 return 1;
11 }
12
13 puts ("opening \"nodlopenmod2.so\" failed, OK");
14 return 0;
15}