diff options
Diffstat (limited to 'test cases/common/82 add language/meson.build')
-rw-r--r-- | test cases/common/82 add language/meson.build | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test cases/common/82 add language/meson.build b/test cases/common/82 add language/meson.build new file mode 100644 index 0000000..e99f33a --- /dev/null +++ b/test cases/common/82 add language/meson.build @@ -0,0 +1,10 @@ +project('add language', 'c') + +test('C', executable('cprog', 'prog.c')) + +assert(add_languages('cpp', native: false), 'Add_languages returned false on success') +assert(not add_languages('klingon', required : false), 'Add_languages returned true on failure.') + +test('C++', executable('cppprog', 'prog.cc')) + +add_languages('c', native: false) |