Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / aarch64-hi21-error.s
blob07f9e04953b0ccc485b830ff8b225da17e3fd62c
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 adrp x0, big
10 #CHECK: R_AARCH64_ADR_PREL_PG_HI21 out of range