aboutsummaryrefslogtreecommitdiff
path: root/tests/core/cgo/bar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core/cgo/bar.cc')
-rw-r--r--tests/core/cgo/bar.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/core/cgo/bar.cc b/tests/core/cgo/bar.cc
new file mode 100644
index 00000000..d72f5123
--- /dev/null
+++ b/tests/core/cgo/bar.cc
@@ -0,0 +1,9 @@
+#include <iostream>
+
+extern "C" {
+
+void bar() {
+ std::cout << "bar" << std::endl;
+}
+
+}