summaryrefslogtreecommitdiff
path: root/test/ELF/linkerscript/discard-section-err.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/linkerscript/discard-section-err.s')
-rw-r--r--test/ELF/linkerscript/discard-section-err.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ELF/linkerscript/discard-section-err.s b/test/ELF/linkerscript/discard-section-err.s
index 5d9955545d920..8ad5b486cb39a 100644
--- a/test/ELF/linkerscript/discard-section-err.s
+++ b/test/ELF/linkerscript/discard-section-err.s
@@ -21,3 +21,5 @@
# RUN: not ld.lld -pie -o %t --script %t.script %t.o 2>&1 | \
# RUN: FileCheck -check-prefix=DYNSTR %s
# DYNSTR: discarding .dynstr section is not allowed
+
+.comm foo,4,4