diff options
Diffstat (limited to 'test/ELF/version-script.s')
-rw-r--r-- | test/ELF/version-script.s | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ELF/version-script.s b/test/ELF/version-script.s index 7453981ab9cc..72f9eeb944d1 100644 --- a/test/ELF/version-script.s +++ b/test/ELF/version-script.s @@ -14,7 +14,8 @@ # RUN: ld.lld --version-script %t3.script -shared %t.o %t2.so -o %t3.so # RUN: llvm-readobj -dyn-symbols %t3.so | FileCheck --check-prefix=DSO2 %s -# RUN: echo "VERSION_1.0 { global: foo1; local: *; };" > %t4.script +## Also check that both "global:" and "global :" forms are accepted +# RUN: echo "VERSION_1.0 { global : foo1; local : *; };" > %t4.script # RUN: echo "VERSION_2.0 { global: foo3; local: *; };" >> %t4.script # RUN: ld.lld --version-script %t4.script -shared %t.o %t2.so -o %t4.so # RUN: llvm-readobj -dyn-symbols %t4.so | FileCheck --check-prefix=VERDSO %s |