summaryrefslogtreecommitdiff
path: root/test/Object/ar-error.test
blob: 9b8ddbd78fb18df040999f15bd10ab7c687bc679 (plain)
1
2
3
4
5
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

CHECK: llvm-ar{{(.exe|.EXE)?}}: sparkle.o: No such file or directory