summaryrefslogtreecommitdiff
path: root/libmformat/tests/test/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libmformat/tests/test/driver.cxx')
-rw-r--r--libmformat/tests/test/driver.cxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/libmformat/tests/test/driver.cxx b/libmformat/tests/test/driver.cxx
new file mode 100644
index 0000000..9cc8748
--- /dev/null
+++ b/libmformat/tests/test/driver.cxx
@@ -0,0 +1,16 @@
+// file: tests/test/driver.cxx -*- C++ -*-
+
+import std.core;
+import std.io;
+import format;
+
+int
+main ()
+{
+ using namespace std;
+ using namespace format;
+
+ cout << message ("Hello", "World", volume::quiet) << endl;
+ cout << message ("Hello", "World", volume::normal) << endl;
+ cout << message ("Hello", "World", volume::loud) << endl;
+}