diff options
Diffstat (limited to 'lld/test/ELF/version-wildcard.test')
-rw-r--r-- | lld/test/ELF/version-wildcard.test | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lld/test/ELF/version-wildcard.test b/lld/test/ELF/version-wildcard.test index 80cb9cadf15..ac0b7edc6c5 100644 --- a/lld/test/ELF/version-wildcard.test +++ b/lld/test/ELF/version-wildcard.test @@ -1,9 +1,7 @@ # REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o -# RUN: echo "VERSION_1.0{ \ -# RUN: global: foo*; \ -# RUN: local: *; };" > %t.script +# RUN: echo "VERSION_1.0 { global: foo*; local: *; };" > %t.script # RUN: ld.lld --version-script %t.script -shared %t.o -o %t.so # RUN: llvm-readobj -dyn-symbols %t.so | FileCheck %s @@ -47,12 +45,8 @@ # CHECK-NEXT: ] # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o -# RUN: echo "VERSION_1.0{ \ -# RUN: global: foo2; \ -# RUN: local: *; }; \ -# RUN: VERSION_2.0{ \ -# RUN: global: foo*; \ -# RUN: }; " > %t2.script +# RUN: echo "VERSION_1.0 { global: foo2; local: *; };" > %t2.script +# RUN: echo "VERSION_2.0 { global: foo*; };" >> %t2.script # RUN: ld.lld --version-script %t2.script -shared %t.o -o %t2.so # RUN: llvm-readobj -dyn-symbols %t2.so | FileCheck --check-prefix=MIX %s |