summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/sections-max-va-overflow.s
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/ELF/linkerscript/sections-max-va-overflow.s')
-rw-r--r--lld/test/ELF/linkerscript/sections-max-va-overflow.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/ELF/linkerscript/sections-max-va-overflow.s b/lld/test/ELF/linkerscript/sections-max-va-overflow.s
index e8fcd8da94e..ce771b4784c 100644
--- a/lld/test/ELF/linkerscript/sections-max-va-overflow.s
+++ b/lld/test/ELF/linkerscript/sections-max-va-overflow.s
@@ -3,7 +3,7 @@
# RUN: echo "SECTIONS { . = 0xfffffffffffffff1;" > %t.script
# RUN: echo " .bar : { *(.bar*) } }" >> %t.script
-# RUN: not ld.lld -o %t.so --script %t.script %t.o 2>&1 | FileCheck %s -check-prefix=ERR
+# RUN: not ld.lld -o /dev/null --script %t.script %t.o 2>&1 | FileCheck %s -check-prefix=ERR
## .bar section has data in [0xfffffffffffffff1, 0xfffffffffffffff1 + 0x10] ==
## [0xfffffffffffffff1, 0x1]. Check we can catch this overflow.
OpenPOWER on IntegriCloud