summaryrefslogtreecommitdiffstats
path: root/test cases/cmake/13 system includes/subprojects/cmMod/cmMod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/cmake/13 system includes/subprojects/cmMod/cmMod.cpp')
-rw-r--r--test cases/cmake/13 system includes/subprojects/cmMod/cmMod.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/test cases/cmake/13 system includes/subprojects/cmMod/cmMod.cpp b/test cases/cmake/13 system includes/subprojects/cmMod/cmMod.cpp
new file mode 100644
index 0000000..1eaf0cf
--- /dev/null
+++ b/test cases/cmake/13 system includes/subprojects/cmMod/cmMod.cpp
@@ -0,0 +1,12 @@
+#include "cmMod.hpp"
+#include "triggerWarn.hpp"
+
+using namespace std;
+
+cmModClass::cmModClass(string foo) {
+ str = foo + " World " + to_string(bar(World));
+}
+
+string cmModClass::getStr() const {
+ return str;
+}