diff options
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/tools/gold/X86/error-unopenable.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/tools/gold/X86/error-unopenable.ll b/llvm/test/tools/gold/X86/error-unopenable.ll new file mode 100644 index 00000000000..c8532a5b187 --- /dev/null +++ b/llvm/test/tools/gold/X86/error-unopenable.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as -o %t %s +; RUN: not %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: --plugin-opt=obj-path=%T/nonexistent-dir/foo.o \ +; RUN: %t -o %t2 2>&1 | FileCheck %s + +; CHECK: Could not open file {{.*}}nonexistent-dir + +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" |

