xref: /llvm-project/llvm/test/tools/llvm-readtapi/stubify-invalid.test (revision 23adef4b85e341d4f0d1ff2d2185e4b3fa499a05)
1; RUN: rm -rf %t
2; RUN: mkdir -p %t
3; 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
4; RUN: not llvm-readtapi -stubify --o %t/tmp.tbd 2>&1 | FileCheck %s --allow-empty --check-prefix IN
5
6; OUT: error: cannot write multiple inputs into single output file
7; IN: error: stubify requires at least one input file
8
9