summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/user_headerunit/src
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/c++/modules/user_headerunit/src')
-rw-r--r--tests/projects/c++/modules/user_headerunit/src/hello.mpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/projects/c++/modules/user_headerunit/src/hello.mpp b/tests/projects/c++/modules/user_headerunit/src/hello.mpp
index f2e4022f7..75c5b0866 100644
--- a/tests/projects/c++/modules/user_headerunit/src/hello.mpp
+++ b/tests/projects/c++/modules/user_headerunit/src/hello.mpp
@@ -1,9 +1,10 @@
module;
#include <cstdio>
-import "header.hpp";
export module hello;
+import "header.hpp";
+
export namespace hello {
void say(const char *arg) {
printf("%s: %s\n", FOO, arg);