From 0c71feb0363b337152f11e301303f85f9621c148 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 20 Jul 2017 08:55:31 +0200 Subject: Add modularized version --- libmformat/tests/test/driver.cxx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 libmformat/tests/test/driver.cxx (limited to 'libmformat/tests/test/driver.cxx') 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; +} -- cgit v1.1