1//RUN: not llvm-mc -triple=aarch64-linux-gnu - < %s 2>&1 | FileCheck --check-prefix=CHECK-ERROR %s 2 3// simple test 4.section a, "ax", @progbits 5f1: 6 ldr w0, =0x100000001 7// CHECK-ERROR: error: Immediate too large for register 8// CHECK-ERROR: ldr w0, =0x100000001 9// CHECK-ERROR: ^ 10f2: 11 ldr w0, =-0x80000001 12// CHECK-ERROR: error: Immediate too large for register 13// CHECK-ERROR: ldr w0, =-0x80000001 14// CHECK-ERROR: ^ 15