diff options
Diffstat (limited to 'lld/test/ELF/version-script.s')
-rw-r--r-- | lld/test/ELF/version-script.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/test/ELF/version-script.s b/lld/test/ELF/version-script.s index 36942c12e6c..75083ac9a76 100644 --- a/lld/test/ELF/version-script.s +++ b/lld/test/ELF/version-script.s @@ -34,7 +34,7 @@ # RUN: echo "VERSION_1.0 { global: foo1; local: *; };" > %t6.script # RUN: echo "VERSION_2.0 { global: foo1; local: *; };" >> %t6.script -# RUN: not ld.lld --version-script %t6.script -shared %t.o %t2.so -o %t6.so 2>&1 | \ +# RUN: not ld.lld --version-script %t6.script -shared %t.o %t2.so -o /dev/null 2>&1 | \ # RUN: FileCheck -check-prefix=ERR3 %s # ERR3: duplicate symbol 'foo1' in version script @@ -214,7 +214,7 @@ # ALL-NEXT: ] # RUN: echo "VERSION_1.0 { global: foo1; foo1; local: *; };" > %t8.script -# RUN: ld.lld --version-script %t8.script -shared %t.o -o %t8.so --fatal-warnings +# RUN: ld.lld --version-script %t8.script -shared %t.o -o /dev/null --fatal-warnings .globl foo1 foo1: |