| Rafael Espindola | 84ef7b4 | 2017-09-07 22:20:38 +0000 | [diff] [blame] | 1 | Test that llvm-ar exits with 1 when there is an error. |
| 2 | |||||
| 3 | RUN: not llvm-ar e 2>&1 | FileCheck %s | ||||
| 4 | CHECK: unknown option e. | ||||
| Rafael Espindola | 39c150e | 2017-09-07 23:30:48 +0000 | [diff] [blame] | 5 | CHECK: OVERVIEW: LLVM Archiver (llvm-ar) |