summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/hello/src/main.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2019-09-06 00:13:31 +0800
committerruki <[email protected]>2019-09-05 19:21:07 +0800
commit5f3ad152caf5509dd6e8a8249872c8969be1d49f (patch)
tree7bf28a9ce47129605e7b7c52e90e284106adad89 /tests/projects/c++/modules/hello/src/main.cpp
parenta8061f2bed770641ea7137e6211aea50bbe6abd9 (diff)
add cppmodule rules and tests
Diffstat (limited to 'tests/projects/c++/modules/hello/src/main.cpp')
-rw-r--r--tests/projects/c++/modules/hello/src/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/hello/src/main.cpp b/tests/projects/c++/modules/hello/src/main.cpp
new file mode 100644
index 000000000..175b4d348
--- /dev/null
+++ b/tests/projects/c++/modules/hello/src/main.cpp
@@ -0,0 +1,6 @@
+import hello;
+
+int main() {
+ hello::say("hello module!");
+ return 0;
+} \ No newline at end of file