[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / lld / test / ELF / version-script-undef-version.s
blob40dc816f5005ba83d150eb08bd55bba6da181ac9
1 # REQUIRES: x86
3 # Test that we don't error on undefined versions when static linking.
4 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
5 # RUN: ld.lld %t.o -o %t
6 # RUN: echo "DEFINED { global: *; };" > %t.map
7 # RUN: ld.lld %t.o --version-script %t.map -o %t
9 .global _start
10 .global bar
11 .symver _start, bar@@UNDEFINED
12 _start: