summaryrefslogtreecommitdiff
path: root/tests/test/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-19 13:32:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-19 13:32:30 +0200
commit627991f892f431988c6a683b1305aee5510920dd (patch)
treeabb7f8e670cce67b96d930c73f6d548b126429a6 /tests/test/driver.cxx
Basic "Hello World" C++ library with build2
Diffstat (limited to 'tests/test/driver.cxx')
-rw-r--r--tests/test/driver.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test/driver.cxx b/tests/test/driver.cxx
new file mode 100644
index 0000000..59bfb2d
--- /dev/null
+++ b/tests/test/driver.cxx
@@ -0,0 +1,11 @@
+// file: tests/test/driver.cxx -*- C++ -*-
+
+#include <hello/hello>
+
+int
+main ()
+{
+ using hello::say;
+
+ say ("World");
+}