llvm-6502/test/MC/ARM/ldr-pseudo-parse-errors.s

11 lines
268 B
ArmAsm
Raw Normal View History

@RUN: not llvm-mc -triple=armv7-unknown-linux-gnueabi < %s 2>&1 | FileCheck %s
@RUN: not llvm-mc -triple=armv7-apple-darwin < %s 2>&1 | FileCheck %s
.text
bar:
mov r0, =0x101
@ CHECK: error: unknown token in expression
@ CHECK: mov r0, =0x101
@ CHECK: ^