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 000000000..2f2dfc65c
--- /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;
+}
+