summaryrefslogtreecommitdiffstats
path: root/manual tests/13 builddir upgrade/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'manual tests/13 builddir upgrade/lib.c')
-rw-r--r--manual tests/13 builddir upgrade/lib.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/manual tests/13 builddir upgrade/lib.c b/manual tests/13 builddir upgrade/lib.c
new file mode 100644
index 0000000..2ea9c7d
--- /dev/null
+++ b/manual tests/13 builddir upgrade/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;
+}