[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / lld / test / ELF / shlib-undefined-shared.s
blob6d60d01bfabeb24760b67f239fe6a8b0bf2e41f7
1 # REQUIRES: x86
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-linux-gnu -o %t1.o %S/Inputs/shlib-undefined-ref.s
4 # RUN: ld.lld -shared -o %t1.so %t1.o
6 # RUN: llvm-mc -filetype=obj -triple=x86_64-linux-gnu -o %t2.o %s
7 # RUN: echo "{ local: *; };" > %t.script
8 # RUN: ld.lld -shared -version-script %t.script -o %t2.so %t2.o %t1.so
9 # RUN: llvm-nm -g %t2.so | FileCheck -allow-empty %s
11 # CHECK-NOT: should_not_be_exported
13 .globl should_not_be_exported
14 should_not_be_exported:
15 ret