diff options
Diffstat (limited to 'test/MC/ARM/udf-arm-diagnostics.s')
-rw-r--r-- | test/MC/ARM/udf-arm-diagnostics.s | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/MC/ARM/udf-arm-diagnostics.s b/test/MC/ARM/udf-arm-diagnostics.s new file mode 100644 index 0000000..9ec9bf2 --- /dev/null +++ b/test/MC/ARM/udf-arm-diagnostics.s @@ -0,0 +1,19 @@ +@ RUN: not llvm-mc -triple arm-eabi %s 2>&1 | FileCheck %s + + .syntax unified + .text + .arm + +undefined: + udfpl + +@ CHECK: error: instruction 'udf' is not predicable, but condition code specified +@ CHECK: udfpl +@ CHECK: ^ + + udf #65536 + +@ CHECK: error: invalid operand for instruction +@ CHECK: udf #65536 +@ CHECK: ^ + |