summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/ar-error.test
blob: d212555f5c39ac2696c346ff644ef31d6377a865 (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)?}}: error: sparkle.o:
OpenPOWER on IntegriCloud