llvm-for-llvmta/test/tools/llvm-ar/invalid-command-line.test

6 lines
157 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
Test that llvm-ar exits with 1 when there is an error.
RUN: not llvm-ar e 2>&1 | FileCheck %s
CHECK: error: unknown option e
CHECK: OVERVIEW: LLVM Archiver