33 lines · plain
1//RUN: not llvm-mc -triple=aarch64-linux-gnu - < %s 2>&1 | FileCheck --check-prefix=CHECK-ERROR %s2 3// simple test4.section a, "ax", @progbits5f1:6 ldr w0, =0x1000000017// CHECK-ERROR: error: Immediate too large for register8// CHECK-ERROR: ldr w0, =0x1000000019// CHECK-ERROR: ^10f2:11 ldr w0, =-0x8000000112// CHECK-ERROR: error: Immediate too large for register13// CHECK-ERROR: ldr w0, =-0x8000000114// CHECK-ERROR: ^15 16f3:17 ldr foo, =118// CHECK-ERROR: error: Only valid when first operand is register19// CHECK-ERROR: ldr foo, =120// CHECK-ERROR: ^21 22f4:23 add r0, r0, =124// CHECK-ERROR: error: unexpected token in operand25// CHECK-ERROR: add r0, r0, =126// CHECK-ERROR: ^27 28f5:29 ldr x0, =())30// CHECK-ERROR: error: unknown token in expression31// CHECK-ERROR: ldr x0, =())32// CHECK-ERROR: ^33