summaryrefslogtreecommitdiff
path: root/test/dlopen/test3.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dlopen/test3.c')
-rw-r--r--test/dlopen/test3.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/dlopen/test3.c b/test/dlopen/test3.c
new file mode 100644
index 0000000..2f2dfc6
--- /dev/null
+++ b/test/dlopen/test3.c
@@ -0,0 +1,13 @@
+#include <fcntl.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <dlfcn.h>
+
+extern int dltest(const char *s);
+
+int main(int argc, char **argv)
+{
+ dltest("hello world!");
+ return EXIT_SUCCESS;
+}
+