aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/native/6 add language/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/native/6 add language/meson.build')
-rw-r--r--meson/test cases/native/6 add language/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson/test cases/native/6 add language/meson.build b/meson/test cases/native/6 add language/meson.build
new file mode 100644
index 000000000..a7aad7367
--- /dev/null
+++ b/meson/test cases/native/6 add language/meson.build
@@ -0,0 +1,3 @@
+project('add language', 'c')
+assert(add_languages('cpp', native: true), 'Add_languages returned false on success')
+test('C++', executable('cppprog', 'prog.cc', native: true))