blob: 7b90a5ad2d9fd1817bc508d0141a736879bb4d40 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#include <dlfcn.h>
2
3static int
4do_test (void)
5{
6 void *h = dlopen("$ORIGIN/tst-auditmod9b.so", RTLD_LAZY);
7 int (*fp)(void) = dlsym(h, "f");
8 return fp() - 1;
9}
10
11#define TEST_FUNCTION do_test ()
12#include "../test-skeleton.c"