xref: /llvm-project/llvm/test/tools/llvm-ranlib/bad-usage.test (revision 6278fba9b11751b97c6091049341c51226c5b434)
1## Test that useage message is shown when no input file is given
2## And that we return non-zero.
3
4# RUN: not llvm-ranlib 2>&1 | FileCheck %s
5
6# CHECK: error: an archive name must be specified
7# CHECK: USAGE: llvm-ranlib
8