aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/hello/hello/hello.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cxx/hello/hello/hello.cxx')
-rw-r--r--examples/cxx/hello/hello/hello.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/cxx/hello/hello/hello.cxx b/examples/cxx/hello/hello/hello.cxx
new file mode 100644
index 0000000..1ec9d31
--- /dev/null
+++ b/examples/cxx/hello/hello/hello.cxx
@@ -0,0 +1,8 @@
+#include "libhello/hello.hxx"
+
+int
+main ()
+{
+ hello h;
+ h.say ("Hello, world!");
+}