summaryrefslogtreecommitdiff
path: root/test/ELF/libsearch.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/libsearch.s')
-rw-r--r--test/ELF/libsearch.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ELF/libsearch.s b/test/ELF/libsearch.s
index 20783c5b6465e..32be866a66a92 100644
--- a/test/ELF/libsearch.s
+++ b/test/ELF/libsearch.s
@@ -22,7 +22,8 @@
// Should not link because of undefined symbol _bar
// RUN: not ld.lld -o %t3 %t.o %tbar.o 2>&1 \
// RUN: | FileCheck --check-prefix=UNDEFINED %s
-// UNDEFINED: error: {{.*}}:(.bar+0x0): undefined symbol '_bar'
+// UNDEFINED: error: undefined symbol: _bar
+// UNDEFINED: >>> referenced by {{.*}}:(.bar+0x0)
// Should fail if cannot find specified library (without -L switch)
// RUN: not ld.lld -o %t3 %t.o -lls 2>&1 \