summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/stl_headerunit/src/hello.mpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/c++/modules/stl_headerunit/src/hello.mpp')
-rw-r--r--tests/projects/c++/modules/stl_headerunit/src/hello.mpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/stl_headerunit/src/hello.mpp b/tests/projects/c++/modules/stl_headerunit/src/hello.mpp
new file mode 100644
index 000000000..d45c5759e
--- /dev/null
+++ b/tests/projects/c++/modules/stl_headerunit/src/hello.mpp
@@ -0,0 +1,11 @@
+module;
+
+export module hello;
+
+import <iostream>;
+
+export namespace hello {
+ void say(const char* str) {
+ std::cout << str << std::endl;
+ }
+}