mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
4f9f7452be
Most callers were not expecting the exit(0) and trying to exit with a different value. This also adds back the call to cl::PrintHelpMessage in llvm-ar. llvm-svn: 312761
6 lines
161 B
Plaintext
6 lines
161 B
Plaintext
Test that llvm-ar exits with 1 when there is an error.
|
|
|
|
RUN: not llvm-ar e 2>&1 | FileCheck %s
|
|
CHECK: unknown option e.
|
|
CHECK: OVERVIEW: LLVM Archiver (llvm-ar)
|