1 ; RUN: llvm-as -o %t %s
2 ; RUN: not %gold -plugin %llvmshlibdir/LLVMgold%shlibext \
3 ; RUN: --plugin-opt=obj-path=%t/nonexistent-dir/foo.o \
4 ; RUN: %t -o %t2 2>&1 | FileCheck %s
6 ; CHECK: Could not open file {{.*}}nonexistent-dir
8 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"