aboutsummaryrefslogtreecommitdiff
path: root/test cases/cmake/9 header only/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/cmake/9 header only/main.cpp')
-rw-r--r--test cases/cmake/9 header only/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/test cases/cmake/9 header only/main.cpp b/test cases/cmake/9 header only/main.cpp
new file mode 100644
index 0000000..315c0f7
--- /dev/null
+++ b/test cases/cmake/9 header only/main.cpp
@@ -0,0 +1,10 @@
+#include <iostream>
+#include <cmMod.hpp>
+
+using namespace std;
+
+int main() {
+ cmModClass obj("Hello");
+ cout << obj.getStr() << endl;
+ return 0;
+}