summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/diagnostics.s
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/ARM/diagnostics.s')
-rw-r--r--llvm/test/MC/ARM/diagnostics.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/diagnostics.s b/llvm/test/MC/ARM/diagnostics.s
index 55bb1dd37ca..5eae4d216e4 100644
--- a/llvm/test/MC/ARM/diagnostics.s
+++ b/llvm/test/MC/ARM/diagnostics.s
@@ -429,3 +429,10 @@
bkpteq #7
@ CHECK-ERRORS: error: instruction 'bkpt' is not predicable, but condition code specified
+
+ ldm r2!, {r2, r3}
+ ldmdb r2!, {r2, r3}
+ ldmda r2!, {r2, r3}
+@ CHECK-ERRORS: error: writeback operator '!' not allowed when base register in register list
+@ CHECK-ERRORS: error: writeback operator '!' not allowed when base register in register list
+@ CHECK-ERRORS: error: writeback operator '!' not allowed when base register in register list
OpenPOWER on IntegriCloud