summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/section-metadata-err2.s
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/ELF/section-metadata-err2.s')
-rw-r--r--lld/test/ELF/section-metadata-err2.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/ELF/section-metadata-err2.s b/lld/test/ELF/section-metadata-err2.s
index b2b611f1600..3191c1f4d3b 100644
--- a/lld/test/ELF/section-metadata-err2.s
+++ b/lld/test/ELF/section-metadata-err2.s
@@ -1,7 +1,7 @@
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
-# RUN: not ld.lld %t.o -o %t 2>&1 | FileCheck %s
+# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
## Check we do not crash and report proper errors.
# CHECK: error: a section .bar with SHF_LINK_ORDER should not refer a non-regular section: {{.*}}section-metadata-err2.s.tmp.o:(.foo)
OpenPOWER on IntegriCloud