summaryrefslogtreecommitdiffstats
path: root/test cases/d/10 d cpp/dmain.d
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/d/10 d cpp/dmain.d5
1 files changed, 5 insertions, 0 deletions
diff --git a/test cases/d/10 d cpp/dmain.d b/test cases/d/10 d cpp/dmain.d
new file mode 100644
index 0000000..bece25f
--- /dev/null
+++ b/test cases/d/10 d cpp/dmain.d
@@ -0,0 +1,5 @@
+extern (C++) void print_hello(int i);
+
+void main() {
+ print_hello(1);
+}