diff options
Diffstat (limited to 'tests/projects/c++/modules/class/src/hello_impl.cpp')
| -rw-r--r-- | tests/projects/c++/modules/class/src/hello_impl.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/projects/c++/modules/class/src/hello_impl.cpp b/tests/projects/c++/modules/class/src/hello_impl.cpp index 6d0008fbb..b8b572f27 100644 --- a/tests/projects/c++/modules/class/src/hello_impl.cpp +++ b/tests/projects/c++/modules/class/src/hello_impl.cpp @@ -1,14 +1,13 @@ -module hello; - +module; #include <iostream> - using namespace std; +module hello; + namespace hello { say::say(int data) : data_(data) { } - void say::hello() { cout << "hello, say class: " << data_ << endl; } |
