aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/91 devenv/subprojects/sub/foo.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/unit/91 devenv/subprojects/sub/foo.c')
-rw-r--r--meson/test cases/unit/91 devenv/subprojects/sub/foo.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/meson/test cases/unit/91 devenv/subprojects/sub/foo.c b/meson/test cases/unit/91 devenv/subprojects/sub/foo.c
new file mode 100644
index 000000000..46cb845f9
--- /dev/null
+++ b/meson/test cases/unit/91 devenv/subprojects/sub/foo.c
@@ -0,0 +1,10 @@
+#ifdef _WIN32
+ #define DO_EXPORT __declspec(dllexport)
+#else
+ #define DO_EXPORT
+#endif
+
+DO_EXPORT int foo(void)
+{
+ return 0;
+}