summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/thumb2-diagnostics.s
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/ARM/thumb2-diagnostics.s')
-rw-r--r--llvm/test/MC/ARM/thumb2-diagnostics.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/thumb2-diagnostics.s b/llvm/test/MC/ARM/thumb2-diagnostics.s
index 851afb81633..b784d79fa43 100644
--- a/llvm/test/MC/ARM/thumb2-diagnostics.s
+++ b/llvm/test/MC/ARM/thumb2-diagnostics.s
@@ -145,3 +145,9 @@ foo2:
@ CHECK-ERRORS-V7: error: instruction requires: arm-mode
@ CHECK-ERRORS-V8: error: invalid instruction
@ CHECK-ERRORS-V8: error: invalid instruction
+
+ @ Generic error for too few operands
+ adds
+ adds r0
+@ CHECK-ERRORS: error: too few operands for instruction
+@ CHECK-ERRORS: error: too few operands for instruction
OpenPOWER on IntegriCloud