[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / lld / test / ELF / undef-shared2.s
blobbdaeb4faddd2172545ceda018a5fe588a9c45545
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/undef-shared2.s -o %t2.o
4 # RUN: not ld.lld %t.o %t2.o -o /dev/null -shared 2>&1 | FileCheck %s
5 # RUN: not ld.lld %t2.o %t.o -o /dev/null -shared 2>&1 | FileCheck %s
7 # CHECK: error: undefined protected symbol: foo
9 .data
10 .quad foo
11 .protected foo