summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/modulemap.modulemap/src/hello.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/c++/modules/modulemap.modulemap/src/hello.h')
-rw-r--r--tests/projects/c++/modules/modulemap.modulemap/src/hello.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/modulemap.modulemap/src/hello.h b/tests/projects/c++/modules/modulemap.modulemap/src/hello.h
new file mode 100644
index 000000000..743934c26
--- /dev/null
+++ b/tests/projects/c++/modules/modulemap.modulemap/src/hello.h
@@ -0,0 +1,18 @@
+#pragma once
+
+import std;
+using namespace std;
+
+namespace hello {
+ inline void say_hi() {
+ cout << "hello hi!" << endl;
+ }
+
+ inline void say_hello() {
+ cout << "hello world!" << endl;
+ }
+
+ inline void say_xz() {
+ cout << "hello xz!" << endl;
+ }
+} \ No newline at end of file