summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/c++/modules')
-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 5b2f434ad..f2e4022f7 100644
--- a/tests/projects/c++/modules/user_headerunit/src/hello.mpp
+++ b/tests/projects/c++/modules/user_headerunit/src/hello.mpp
@@ -1,10 +1,11 @@
module;
#include <cstdio>
+import "header.hpp";
export module hello;
export namespace hello {
void say(const char *arg) {
- printf("%s\n", arg);
+ printf("%s: %s\n", FOO, arg);
}
}