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