diff options
-rw-r--r-- | lld/test/ELF/version-script-undef-version.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/test/ELF/version-script-undef-version.s b/lld/test/ELF/version-script-undef-version.s index 3d0c3bfa453..40dc816f500 100644 --- a/lld/test/ELF/version-script-undef-version.s +++ b/lld/test/ELF/version-script-undef-version.s @@ -3,6 +3,8 @@ # Test that we don't error on undefined versions when static linking. # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o # RUN: ld.lld %t.o -o %t +# RUN: echo "DEFINED { global: *; };" > %t.map +# RUN: ld.lld %t.o --version-script %t.map -o %t .global _start .global bar |