aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/55 exe static shared/shlib2.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/55 exe static shared/shlib2.c')
-rw-r--r--meson/test cases/common/55 exe static shared/shlib2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/meson/test cases/common/55 exe static shared/shlib2.c b/meson/test cases/common/55 exe static shared/shlib2.c
new file mode 100644
index 000000000..12bc913d7
--- /dev/null
+++ b/meson/test cases/common/55 exe static shared/shlib2.c
@@ -0,0 +1,8 @@
+#include "subdir/exports.h"
+
+int statlibfunc(void);
+int statlibfunc2(void);
+
+int DLL_PUBLIC shlibfunc2(void) {
+ return statlibfunc() - statlibfunc2();
+}