aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/146 library at root/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/146 library at root/lib.c')
-rw-r--r--meson/test cases/common/146 library at root/lib.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson/test cases/common/146 library at root/lib.c b/meson/test cases/common/146 library at root/lib.c
new file mode 100644
index 000000000..a5b3dc3b8
--- /dev/null
+++ b/meson/test cases/common/146 library at root/lib.c
@@ -0,0 +1,6 @@
+#if defined _WIN32 || defined __CYGWIN__
+__declspec(dllexport)
+#endif
+int fn(void) {
+ return -1;
+}