diff options
Diffstat (limited to 'llvm/test/MC/ARM/diagnostics.s')
| -rw-r--r-- | llvm/test/MC/ARM/diagnostics.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/diagnostics.s b/llvm/test/MC/ARM/diagnostics.s index 42e8b6a6128..899c8112940 100644 --- a/llvm/test/MC/ARM/diagnostics.s +++ b/llvm/test/MC/ARM/diagnostics.s @@ -742,3 +742,10 @@ foo2: adds r0 @ CHECK-ERRORS: error: too few operands for instruction @ CHECK-ERRORS: error: too few operands for instruction + + @ Using pc for MVN + mvn pc, r6, lsl r7 +@ CHECK-ERRORS: error: invalid instruction, any one of the following would fix this: +@ CHECK-ERRORS: note: operand must be a register in range [r0, r14] +@ CHECK-ERRORS: mvn pc, r6, lsl r7 +@ CHECK-ERRORS: ^ |

