summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/impl_unit
diff options
context:
space:
mode:
authorruki <[email protected]>2021-10-10 23:03:20 +0800
committerruki <[email protected]>2021-10-10 23:03:20 +0800
commit2a231e4654c2569c347e27351a28ea6c4e95cf0c (patch)
tree7b5a30bd80268bc71f6b9bd5e707a93bdbb2b905 /tests/projects/c++/modules/impl_unit
parentf7d079c1a5eef8d875b25e383132e6c114b7e48a (diff)
fix module tests
Diffstat (limited to 'tests/projects/c++/modules/impl_unit')
-rw-r--r--tests/projects/c++/modules/impl_unit/src/hello_impl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/projects/c++/modules/impl_unit/src/hello_impl.cpp b/tests/projects/c++/modules/impl_unit/src/hello_impl.cpp
index 9cee17cfd..425c7aba4 100644
--- a/tests/projects/c++/modules/impl_unit/src/hello_impl.cpp
+++ b/tests/projects/c++/modules/impl_unit/src/hello_impl.cpp
@@ -1,9 +1,9 @@
-module hello;
-
+module;
#include <iostream>
-
using namespace std;
+module hello;
+
namespace hello {
void say_hi() {
cout << "hello hi!" << endl;