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