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

11 lines
268 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
@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: ^