llvm/test/tools/gold/invalid-dir.ll
Davide Italiano 586b77778c [gold] Test that we handle invalid directory correctly.
I had this test sitting around for a while but always forgot to
commit. Rafael reviewed it a while ago.

Differential Revision:  https://reviews.llvm.org/D19207

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281109 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-09 22:14:57 +00:00

8 lines
228 B
LLVM

; RUN: rm -rf %t.output
; RUN: mkdir %t.output
; RUN: llvm-as %s -o %t.o
; RUN: not %gold -plugin %llvmshlibdir/LLVMgold.so -shared \
; RUN: %t.o -o %t.output 2>&1 | FileCheck %s -check-prefix=OUTDIR
; OUTDIR: fatal error: