summaryrefslogtreecommitdiff
path: root/libmhello/tests/test/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libmhello/tests/test/driver.cxx')
-rw-r--r--libmhello/tests/test/driver.cxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/libmhello/tests/test/driver.cxx b/libmhello/tests/test/driver.cxx
new file mode 100644
index 0000000..debf04a
--- /dev/null
+++ b/libmhello/tests/test/driver.cxx
@@ -0,0 +1,15 @@
+// file: tests/test/driver.cxx -*- C++ -*-
+
+import std.core;
+import format; // volume
+import hello;
+
+int
+main ()
+{
+ using namespace hello;
+
+ say ("World");
+ say ("World", format::volume::loud);
+ say_formatted ("Hi, World!");
+}