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