diff options
Diffstat (limited to 'test cases/frameworks/15 llvm/meson.build')
-rw-r--r-- | test cases/frameworks/15 llvm/meson.build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test cases/frameworks/15 llvm/meson.build b/test cases/frameworks/15 llvm/meson.build index 582ff37..af7f8c6 100644 --- a/test cases/frameworks/15 llvm/meson.build +++ b/test cases/frameworks/15 llvm/meson.build @@ -7,4 +7,11 @@ llvm_dep = dependency( required : true, ) +d = dependency('llvm', modules : 'not-found', required : false) +assert(d.found() == false, 'not-found llvm module found') + +# XXX: Version checks are broken, see FIXME in LLVMDependency +#d = dependency('llvm', version : '<0.1', required : false) +#assert(d.found() == false, 'ancient llvm module found') + executable('sum', 'sum.c', dependencies : llvm_dep) |