repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[lit] Add argument check: --timeout must be non-negative integer
[llvm-core.git]
/
test
/
tools
/
llvm-ar
/
invalid-object-file.test
blob
d967d8763a92172dbfbf64927751b985d8151b6d
1
## Test that we get a proper error message with a file that is not a recognized object file.
2
3
# RUN: rm -f %t.txt
4
# RUN: touch %t.txt
5
# RUN: not llvm-ar sc %t.txt 2>&1 > /dev/null | FileCheck %s -DFILE=%t.txt
6
7
# CHECK: error: unable to load '[[FILE]]': file too small to be an archive
8
# CHECK-NOT: {{.}}