aboutsummaryrefslogtreecommitdiffstats
path: root/test/Object/ar-error.test
blob: 7add9b448e1997987585dfff89c86ea915373c4b (plain)
1
2
3
4
5
6
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)?}}: sparkle.o: