aboutsummaryrefslogblamecommitdiffstats
path: root/test/tools/llvm-ar/invalid-command-line.test
blob: 2bfcc1a457dbd3dd2f304d41019f47517fd8c20b (plain) (tree)
1
2
3
4
5



                                                      
                              
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