llvm-project/llvm/test/Object/ar-error.test

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
233 B
Plaintext
Raw Normal View History

Test if we get a proper error with a filename that doesn't exist
RUN: not llvm-ar r %t.out.a sparkle.o %t 2>&1 | FileCheck %s
# Don't check the message "No such file or directory".
CHECK: llvm-ar{{(.exe|.EXE)?}}: error: sparkle.o: