diff options
Diffstat (limited to 'tests/projects/c++/modules/phony/src/hello.cpp')
| -rw-r--r-- | tests/projects/c++/modules/phony/src/hello.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/phony/src/hello.cpp b/tests/projects/c++/modules/phony/src/hello.cpp new file mode 100644 index 000000000..38ecf20e3 --- /dev/null +++ b/tests/projects/c++/modules/phony/src/hello.cpp @@ -0,0 +1,17 @@ +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; + } +} // namespace hello |
