summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/warn-common.s
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/ELF/warn-common.s')
-rw-r--r--lld/test/ELF/warn-common.s4
1 files changed, 1 insertions, 3 deletions
diff --git a/lld/test/ELF/warn-common.s b/lld/test/ELF/warn-common.s
index 783a9ab77b5..ddb4b687a5a 100644
--- a/lld/test/ELF/warn-common.s
+++ b/lld/test/ELF/warn-common.s
@@ -7,9 +7,7 @@
# RUN: ld.lld --warn-common %t1.o %t2.o -o %t.out 2>&1 | FileCheck %s --check-prefix=WARN
# WARN: multiple common of arr
-## no-warn-common is ignored
-# RUN: ld.lld --no-warn-common %t1.o %t2.o -o %t.out
-# RUN: llvm-readobj %t.out > /dev/null
+# RUN: ld.lld --fatal-warnings --warn-common --no-warn-common %t1.o %t2.o -o %t.out
## Report if common is overridden
# RUN: ld.lld --warn-common %t1.o %t3.o -o %t.out 2>&1 | FileCheck %s --check-prefix=OVER
OpenPOWER on IntegriCloud