summaryrefslogtreecommitdiff
path: root/tests/shlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shlib.c')
-rw-r--r--tests/shlib.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/shlib.c b/tests/shlib.c
new file mode 100644
index 0000000000..eddb76ff2a
--- /dev/null
+++ b/tests/shlib.c
@@ -0,0 +1,8 @@
+/* a trivial function used to test building shared libraries */
+
+int foo(void);
+
+int foo(void)
+{
+ return 1;
+}