From 1918c0d231f0c04b1a57c2fdf057b50c8aa7312b Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Wed, 25 Apr 2018 22:25:55 +0300 Subject: Can combine D and C++ in a single target. Closes #3125. --- test cases/d/10 d cpp/cppmain.cpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test cases/d/10 d cpp/cppmain.cpp (limited to 'test cases/d/10 d cpp/cppmain.cpp') 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; +} -- cgit v1.2.3