summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/hello/src
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/c++/modules/hello/src')
-rw-r--r--tests/projects/c++/modules/hello/src/hello.mpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/projects/c++/modules/hello/src/hello.mpp b/tests/projects/c++/modules/hello/src/hello.mpp
index 9bbd036f0..124bd72bc 100644
--- a/tests/projects/c++/modules/hello/src/hello.mpp
+++ b/tests/projects/c++/modules/hello/src/hello.mpp
@@ -1,11 +1,10 @@
-export module hello;
-
+module;
#include <cstdio>
-using namespace std;
+export module hello;
export namespace hello {
void say(const char* str) {
printf("%s\n", str);
}
-} \ No newline at end of file
+}