aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/tools/llvm-readtapi/stubify-invalid.test
blob: ae97d47c519914df134ba2832a8fe30267e5bcf4 (plain)
1
2
3
4
5
6
7
8
; RUN: rm -rf %t
; RUN: mkdir -p %t
; RUN: not llvm-readtapi -stubify %t/objc.dylib %t/flat_namespace.dylib %t/thread_local.dylib %t/fat.dylib --o %t/tmp.tbd 2>&1 | FileCheck %s --allow-empty --check-prefix OUT
; RUN: not llvm-readtapi -stubify --o %t/tmp.tbd 2>&1 | FileCheck %s --allow-empty --check-prefix IN

; OUT: error: cannot write multiple inputs into single output file
; IN: error: stubify requires at least one input file