llvm-for-llvmta/test/MC/ARM/cmp-immediate-fixup-error.s

8 lines
186 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
@ RUN: not llvm-mc -triple=arm-linux-gnueabi -filetype=obj < %s 2>&1 | FileCheck %s
.text
cmp r0, #(l1 - unknownLabel + 4) >> 2
@ CHECK: error: expected relocatable expression
l1: