summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/hello/src
diff options
context:
space:
mode:
authorruki <[email protected]>2021-07-15 22:58:21 +0800
committerGitHub <[email protected]>2021-07-15 22:58:21 +0800
commitba4ebd5a676ad15d8d72fe4fefa4d949ea11bc68 (patch)
tree817b50173948547f7e4b491da271918c67b8a5ff /tests/projects/c++/modules/hello/src
parent8c1141aba414c07554179cb28687124514f6e770 (diff)
parent942c32f448d9b8a850438aa2af1de2415b7ae872 (diff)
Merge pull request #1519 from aacirino/master
Added the correct support to build C++ projects that use modules
Diffstat (limited to 'tests/projects/c++/modules/hello/src')
-rw-r--r--tests/projects/c++/modules/hello/src/hello.mpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/projects/c++/modules/hello/src/hello.mpp b/tests/projects/c++/modules/hello/src/hello.mpp
index fbd7fd6ad..9bbd036f0 100644
--- a/tests/projects/c++/modules/hello/src/hello.mpp
+++ b/tests/projects/c++/modules/hello/src/hello.mpp
@@ -1,6 +1,7 @@
-// module;
-#include <cstdio>
export module hello;
+
+#include <cstdio>
+
using namespace std;
export namespace hello {