xref: /aosp_15_r20/external/llvm/test/Object/ar-error.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
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)?}}: sparkle.o:
7