[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / COFF / arm-thumb-branch20-error.s
blob6802a02fe9707ca57ad307a5040c8a0917594b30
1 // REQUIRES: arm
2 // RUN: llvm-mc -filetype=obj -triple=thumbv7a-windows-gnu %s -o %t.obj
3 // RUN: env LLD_IN_TEST=1 not lld-link -entry:_start -subsystem:console %t.obj -out:%t.exe 2>&1 | FileCheck %s
4 .syntax unified
5 .globl _start
6 _start:
7 bne too_far20
8 .space 0x100000
9 .section .text$a, "xr"
10 too_far20:
11 bx lr
13 // When trying to add a thunk at the end of the section, the thunk itself
14 // will be too far away, so this won't converge.
16 // CHECK: adding thunks hasn't converged