1 ## Test that we get a proper error message with a file that is not a recognized object file.
5 # RUN: not llvm-ar sc %t.txt 2>&1 > /dev/null | FileCheck %s -DFILE=%t.txt
7 # CHECK: error: unable to load '[[FILE]]': file too small to be an archive
10 ## Also test that errors like this (e.g. invlid input files) don't generate a usage message
11 # CHECK-NOT: USAGE: llvm-ar