Thumb assembly parsing and encoding for MUL.
[oota-llvm.git] / test / MC / ARM / thumb-diagnostics.s
index 6deccacfbd24a0864ffe3eb64d6ee7397c1e455c..f7297d959e5840aabe92b071e2912fb163d4b520 100644 (file)
@@ -62,3 +62,9 @@ error: invalid operand for instruction
 @ CHECK-ERRORS: error: invalid operand for instruction
 @ CHECK-ERRORS:         lsls r4, r5, #32
 @ CHECK-ERRORS:                      ^
+
+@ Mismatched source/destination operands for MUL instruction.
+        muls r1, r2, r3
+@ CHECK-ERRORS: error: destination register must match second source register
+@ CHECK-ERRORS:         muls r1, r2, r3
+@ CHECK-ERRORS:              ^