summaryrefslogtreecommitdiff
path: root/test/dlopen/test3.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-08-19 14:24:14 +0000
committerEric Andersen <andersen@codepoet.org>2003-08-19 14:24:14 +0000
commit59146c35832695bc944197115986f8e7f0dea947 (patch)
tree181bed7d50f38f84a4bc55810c55b3c164349496 /test/dlopen/test3.c
parent274c1217a4519c9b310ec9c9810ab0a801628cfe (diff)
Update the tests a little bit
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;
+}
+