summaryrefslogtreecommitdiff
path: root/test/ELF/verdef-dependency.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/verdef-dependency.s')
-rw-r--r--test/ELF/verdef-dependency.s12
1 files changed, 3 insertions, 9 deletions
diff --git a/test/ELF/verdef-dependency.s b/test/ELF/verdef-dependency.s
index 92627ddc5c0f..3f126856b10f 100644
--- a/test/ELF/verdef-dependency.s
+++ b/test/ELF/verdef-dependency.s
@@ -1,14 +1,8 @@
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
-# RUN: echo "LIBSAMPLE_1.0{ \
-# RUN: global: a; \
-# RUN: local: *; }; \
-# RUN: LIBSAMPLE_2.0{ \
-# RUN: global: b; \
-# RUN: local: *; }LIBSAMPLE_1.0; \
-# RUN: LIBSAMPLE_3.0{ \
-# RUN: global: c; \
-# RUN: }LIBSAMPLE_2.0;" > %t.script
+# RUN: echo "LIBSAMPLE_1.0 { global: a; local: *; };" > %t.script
+# RUN: echo "LIBSAMPLE_2.0 { global: b; local: *; } LIBSAMPLE_1.0;" >> %t.script
+# RUN: echo "LIBSAMPLE_3.0 { global: c; } LIBSAMPLE_2.0;" >> %t.script
# RUN: ld.lld --version-script %t.script -shared -soname shared %t.o -o %t.so
# RUN: llvm-readobj -V -dyn-symbols %t.so | FileCheck --check-prefix=DSO %s