summaryrefslogtreecommitdiff
path: root/libmhello/tests/test/driver.cxx
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/tests/test/driver.cxx
parent66aa08841aa5a920793264aba6b2b2aa6e271325 (diff)
Add modularized version
Diffstat (limited to 'libmhello/tests/test/driver.cxx')
-rw-r--r--libmhello/tests/test/driver.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/libmhello/tests/test/driver.cxx b/libmhello/tests/test/driver.cxx
new file mode 100644
index 0000000..cf6af49
--- /dev/null
+++ b/libmhello/tests/test/driver.cxx
@@ -0,0 +1,12 @@
+// file: tests/test/driver.cxx -*- C++ -*-
+
+import std.core;
+import hello;
+
+int
+main ()
+{
+ using hello::say;
+
+ say ("World");
+}