summaryrefslogtreecommitdiff
path: root/test cases/d/10 d cpp/libfile.d
diff options
context:
space:
mode:
authorGoaLitiuM <goalitium@kapsi.fi>2018-08-20 18:21:34 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2018-08-20 22:17:43 +0300
commit6e00ab6236e9d65376ac8c603e1321a6a0af6b57 (patch)
treead40a7283fad394e3c17d876a0a21af754e7426a /test cases/d/10 d cpp/libfile.d
parente0120b4586225a41e08af936bf3e04f4db78ac6f (diff)
downloadmeson-6e00ab6236e9d65376ac8c603e1321a6a0af6b57.tar.gz
Improve D mixed language test case
Diffstat (limited to 'test cases/d/10 d cpp/libfile.d')
-rw-r--r--test cases/d/10 d cpp/libfile.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/test cases/d/10 d cpp/libfile.d b/test cases/d/10 d cpp/libfile.d
index 7c4a449cf..88cb53e9b 100644
--- a/test cases/d/10 d cpp/libfile.d
+++ b/test cases/d/10 d cpp/libfile.d
@@ -1,5 +1,5 @@
-import core.stdc.stdio;
+import std.stdio;
extern (C++) void print_hello(int i) {
- printf("Hello. Here is a number printed with D: %d\n", i);
+ writefln("Hello. Here is a number printed with D: %d", i);
}