aboutsummaryrefslogtreecommitdiffhomepage
path: root/base_workspace/examples/cpp/hello-lib.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base_workspace/examples/cpp/hello-lib.cc')
-rw-r--r--base_workspace/examples/cpp/hello-lib.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/base_workspace/examples/cpp/hello-lib.cc b/base_workspace/examples/cpp/hello-lib.cc
new file mode 100644
index 0000000000..aee43ba429
--- /dev/null
+++ b/base_workspace/examples/cpp/hello-lib.cc
@@ -0,0 +1,5 @@
+#include "examples/cpp/hello-lib.h"
+
+#include <stdio.h>
+
+void greet(const char* obj) { printf("hello %s\n", obj); }