1 //RUN: not llvm-mc -triple=aarch64-linux-gnu - < %s 2>&1 | FileCheck --check-prefix=CHECK-ERROR %s
4 .section a, "ax", @progbits
7 // CHECK-ERROR: error: Immediate too large for register
8 // CHECK-ERROR: ldr w0, =0x100000001
12 // CHECK-ERROR: error: Immediate too large for register
13 // CHECK-ERROR: ldr w0, =-0x80000001
18 // CHECK-ERROR: error: Only valid when first operand is register
19 // CHECK-ERROR: ldr foo, =1
24 // CHECK-ERROR: error: unexpected token in operand
25 // CHECK-ERROR: add r0, r0, =1
30 // CHECK-ERROR: error: unknown token in expression
31 // CHECK-ERROR: ldr x0, =())