summaryrefslogtreecommitdiffstats
path: root/test cases/d/10 d cpp/libfile.d
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/d/10 d cpp/libfile.d')
-rw-r--r--test cases/d/10 d cpp/libfile.d5
1 files changed, 5 insertions, 0 deletions
diff --git a/test cases/d/10 d cpp/libfile.d b/test cases/d/10 d cpp/libfile.d
new file mode 100644
index 0000000..88cb53e
--- /dev/null
+++ b/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);
+}