summaryrefslogtreecommitdiff
path: root/test cases/d/10 d cpp/cppmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/d/10 d cpp/cppmain.cpp')
-rw-r--r--test cases/d/10 d cpp/cppmain.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test cases/d/10 d cpp/cppmain.cpp b/test cases/d/10 d cpp/cppmain.cpp
new file mode 100644
index 000000000..aeddf56e8
--- /dev/null
+++ b/test cases/d/10 d cpp/cppmain.cpp
@@ -0,0 +1,6 @@
+extern void print_hello(int i);
+
+int main(int, char**) {
+ print_hello(1);
+ return 0;
+}