aboutsummaryrefslogtreecommitdiffstats
path: root/test/tools/llvm-ar/invalid-command-line.test
blob: e13f54c07bd035eb31eb707e61b71fd21511575e (plain) (blame)
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 (llvm-ar)