llvm-project/llvm/test/tools/llvm-ar/invalid-command-line.test

6 lines
161 B
Plaintext
Raw Normal View History

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)