[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / lld / test / ELF / pr34872.s
blob2991e94ca1a444405d11114f3805ba83670bb0e3
1 # REQUIRES: x86
2 # RUN: llvm-mc %s -filetype=obj -triple=x86_64-pc-linux -o %t.o
3 # RUN: llvm-mc %p/Inputs/undefined-error.s -filetype=obj \
4 # RUN: -triple=x86_64-pc-linux -o %t2.o
5 # RUN: ld.lld -shared %t2.o -o %t2.so
6 # RUN: not ld.lld --allow-shlib-undefined %t2.so %t.o -o /dev/null 2>&1 | FileCheck %s
8 # CHECK: undefined symbol: fmod
9 # Check we're not emitting other diagnostics for this symbol.
10 # CHECK-NOT: fmod
12 .global main
14 main:
15 callq fmod