summaryrefslogtreecommitdiff
path: root/test/COFF/reloc-discarded.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/COFF/reloc-discarded.s')
-rw-r--r--test/COFF/reloc-discarded.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/COFF/reloc-discarded.s b/test/COFF/reloc-discarded.s
index aa8fb3c3447a..378804b62312 100644
--- a/test/COFF/reloc-discarded.s
+++ b/test/COFF/reloc-discarded.s
@@ -10,6 +10,7 @@
# RUN: not lld-link -entry:main -nodefaultlib %t1.obj %t2.obj -out:%t.exe -opt:noref 2>&1 | FileCheck %s
# CHECK: error: relocation against symbol in discarded section: assoc_global
+# CHECK: >>> referenced by {{.*}}reloc-discarded{{.*}}.obj:(main)
.section .bss,"bw",discard,main_global
.globl main_global