28 lines · plain
1@ RUN: not llvm-mc -triple thumbv7-eabi -mattr +thumb2 %s 2>&1 | FileCheck %s2 3 .syntax unified4 .text5 .thumb6 7undefined:8 udfpl9 10@ CHECK: error: instruction 'udf' is not predicable, but condition code specified11@ CHECK: udfpl12@ CHECK: ^13 14 udf #25615 16@ CHECK: error: invalid instruction, any one of the following would fix this:17@ CHECK: note: instruction requires: arm-mode18@ CHECK: note: operand must be an immediate in the range [0,255]19@ CHECK: udf #25620@ CHECK: ^21 22 udf.w #6553623 24@ CHECK: error: operand must be an immediate in the range [0,65535]25@ CHECK: udf.w #6553626@ CHECK: ^27 28