llvm-for-llvmta/test/MC/ARM/udf-thumb-diagnostics.s

20 lines
321 B
ArmAsm

@ RUN: not llvm-mc -triple thumbv6m-eabi %s 2>&1 | FileCheck %s
.syntax unified
.text
.thumb
undefined:
udfpl
@ CHECK: error: conditional execution not supported in Thumb1
@ CHECK: udfpl
@ CHECK: ^
udf #256
@ CHECK: error: operand must be an immediate in the range [0,255]
@ CHECK: udf #256
@ CHECK: ^