summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-ranlib/bad-usage.test
blob: dd5e2e9e501e7991dbd00efa27b327707414a316 (plain)
1
2
3
4
5
6
7
## Test that useage message is shown when no input file is given
## And that we return non-zero.

# RUN: not llvm-ranlib 2>&1 | FileCheck %s

# CHECK: error: an archive name must be specified
# CHECK: USAGE: llvm-ranlib
OpenPOWER on IntegriCloud