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