diff options
Diffstat (limited to 'meson/test cases/d/10 d cpp/meson.build')
-rw-r--r-- | meson/test cases/d/10 d cpp/meson.build | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meson/test cases/d/10 d cpp/meson.build b/meson/test cases/d/10 d cpp/meson.build new file mode 100644 index 000000000..eecb151f4 --- /dev/null +++ b/meson/test cases/d/10 d cpp/meson.build @@ -0,0 +1,13 @@ +project('d and c++', 'd', 'cpp') + +cpp = meson.get_compiler('cpp') + +if cpp.get_id() == 'clang' + error('MESON_SKIP_TEST combining Clang C++ with GDC produces broken executables.') +endif + +e1 = executable('dcpp', 'dmain.d', 'libfile.cpp') +test('dcpp', e1) + +e2 = executable('cppd', 'cppmain.cpp', 'libfile.d') +test('cppd', e2) |