summaryrefslogtreecommitdiffstats
path: root/test cases/common/178 bothlibraries/libfile.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/common/178 bothlibraries/libfile.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test cases/common/178 bothlibraries/libfile.c b/test cases/common/178 bothlibraries/libfile.c
new file mode 100644
index 0000000..f5e228e
--- /dev/null
+++ b/test cases/common/178 bothlibraries/libfile.c
@@ -0,0 +1,7 @@
+#include "mylib.h"
+
+DO_EXPORT int retval = 42;
+
+DO_EXPORT int func(void) {
+ return retval;
+}