aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/6 linkshared/cpplib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/6 linkshared/cpplib.cpp')
-rw-r--r--meson/test cases/common/6 linkshared/cpplib.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson/test cases/common/6 linkshared/cpplib.cpp b/meson/test cases/common/6 linkshared/cpplib.cpp
new file mode 100644
index 000000000..247f8201a
--- /dev/null
+++ b/meson/test cases/common/6 linkshared/cpplib.cpp
@@ -0,0 +1,6 @@
+#define BUILDING_DLL
+#include "cpplib.h"
+
+int DLL_PUBLIC cppfunc(void) {
+ return 42;
+}