summaryrefslogtreecommitdiff
path: root/libmhello/libmhello/hello.mxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-07-20 08:55:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-07-20 08:55:33 +0200
commit0f6b759e11451b9cdae4b5f64fdcc82989161482 (patch)
treea87e04705a8bde79c7748e79360c0e7a85781312 /libmhello/libmhello/hello.mxx
parent66aa08841aa5a920793264aba6b2b2aa6e271325 (diff)
Add modularized version
Diffstat (limited to 'libmhello/libmhello/hello.mxx')
-rw-r--r--libmhello/libmhello/hello.mxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/libmhello/libmhello/hello.mxx b/libmhello/libmhello/hello.mxx
new file mode 100644
index 0000000..56993b3
--- /dev/null
+++ b/libmhello/libmhello/hello.mxx
@@ -0,0 +1,11 @@
+// file: libmhello/hello.mxx -*- C++ -*-
+
+export module hello;
+
+import std.core;
+
+export namespace hello
+{
+ __symexport void
+ say (const std::string& name);
+}