aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/x86-64-dyn-rel-error.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/x86-64-dyn-rel-error.s')
-rw-r--r--test/ELF/x86-64-dyn-rel-error.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ELF/x86-64-dyn-rel-error.s b/test/ELF/x86-64-dyn-rel-error.s
index ee39e2cb83fd..f479eca2e778 100644
--- a/test/ELF/x86-64-dyn-rel-error.s
+++ b/test/ELF/x86-64-dyn-rel-error.s
@@ -10,3 +10,5 @@ _start:
.long bar
// CHECK: relocation R_X86_64_32 cannot be used against shared object; recompile with -fPIC
+
+// RUN: ld.lld --noinhibit-exec %t.o %t2.so -o %t 2>&1 | FileCheck %s