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