aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/d/10 d cpp/libfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/d/10 d cpp/libfile.cpp')
-rw-r--r--meson/test cases/d/10 d cpp/libfile.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson/test cases/d/10 d cpp/libfile.cpp b/meson/test cases/d/10 d cpp/libfile.cpp
new file mode 100644
index 000000000..2ea67fc92
--- /dev/null
+++ b/meson/test cases/d/10 d cpp/libfile.cpp
@@ -0,0 +1,5 @@
+#include<iostream>
+
+void print_hello(int i) {
+ std::cout << "Hello. Here is a number printed with C++: " << i << ".\n";
+}