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