diff options
Diffstat (limited to 'tests/projects/c++/modules/cmake/src/hello_impl.cpp')
| -rw-r--r-- | tests/projects/c++/modules/cmake/src/hello_impl.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/cmake/src/hello_impl.cpp b/tests/projects/c++/modules/cmake/src/hello_impl.cpp new file mode 100644 index 000000000..5dd555a7a --- /dev/null +++ b/tests/projects/c++/modules/cmake/src/hello_impl.cpp @@ -0,0 +1,14 @@ +module; +#include <iostream> + +module hello; + +using namespace std; +namespace hello { + say::say(int data) : data_(data) { + + } + void say::hello() { + cout << "hello, say class: " << data_ << endl; + } +} |
