[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / lld / test / ELF / aarch64-lo21-error.s
blobc1fb8a6fa2c2da9691c112efd08ea99cd89d728b
1 // REQUIRES: aarch64
2 // RUN: llvm-mc -filetype=obj -triple=aarch64-pc-freebsd %S/Inputs/abs.s -o %tabs
3 // RUN: llvm-mc -filetype=obj -triple=aarch64-pc-freebsd %s -o %t
4 // RUN: not ld.lld %tabs %t -o /dev/null 2>&1 | FileCheck %s
6 .globl _start
7 _start:
8 adr x0, big
10 #CHECK: R_AARCH64_ADR_PREL_LO21 out of range