summaryrefslogtreecommitdiffstats
path: root/test cases/unit/98 install all targets/subdir/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/unit/98 install all targets/subdir/lib.c')
-rw-r--r--test cases/unit/98 install all targets/subdir/lib.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/unit/98 install all targets/subdir/lib.c b/test cases/unit/98 install all targets/subdir/lib.c
new file mode 100644
index 0000000..2ea9c7d
--- /dev/null
+++ b/test cases/unit/98 install all targets/subdir/lib.c
@@ -0,0 +1,9 @@
+#if defined _WIN32 || defined __CYGWIN__
+#define DLL_PUBLIC __declspec(dllexport)
+#else
+#define DLL_PUBLIC
+#endif
+
+int DLL_PUBLIC foo(void) {
+ return 0;
+}