aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/d/10 d cpp/libfile.d
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/d/10 d cpp/libfile.d')
-rw-r--r--meson/test cases/d/10 d cpp/libfile.d5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson/test cases/d/10 d cpp/libfile.d b/meson/test cases/d/10 d cpp/libfile.d
new file mode 100644
index 000000000..88cb53e9b
--- /dev/null
+++ b/meson/test cases/d/10 d cpp/libfile.d
@@ -0,0 +1,5 @@
+import std.stdio;
+
+extern (C++) void print_hello(int i) {
+ writefln("Hello. Here is a number printed with D: %d", i);
+}