summaryrefslogtreecommitdiff
path: root/test/ELF/copy-errors.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/copy-errors.s')
-rw-r--r--test/ELF/copy-errors.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ELF/copy-errors.s b/test/ELF/copy-errors.s
index d0d6abdf68da..0af4638120d1 100644
--- a/test/ELF/copy-errors.s
+++ b/test/ELF/copy-errors.s
@@ -9,6 +9,9 @@
// CHECK: >>> referenced by {{.*}}.o:(.text+0x1)
// CHECK: symbol 'zed' defined in {{.*}}.so has no type
+// RUN: not ld.lld --noinhibit-exec %t.o %t2.so -o %t 2>&1 | FileCheck %s --check-prefix=NOINHIBIT
+// NOINHIBIT: warning: symbol 'zed' defined in {{.*}}.so has no type
+
.global _start
_start:
call bar