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.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/diagnostics.s b/llvm/test/MC/ARM/diagnostics.s
index 4069fea509d..a173cdbf4ff 100644
--- a/llvm/test/MC/ARM/diagnostics.s
+++ b/llvm/test/MC/ARM/diagnostics.s
@@ -59,3 +59,12 @@
@ CHECK-ERRORS: error: invalid operand for instruction
@ CHECK-ERRORS: error: invalid operand for instruction
@ CHECK-ERRORS: error: invalid operand for instruction
+
+ @ Out of range immediates for DBG
+ dbg #-1
+ dbg #16
+
+@ CHECK-ERRORS: error: invalid operand for instruction
+@ CHECK-ERRORS: error: invalid operand for instruction
+@ Double-check that we're synced up with the right diagnostics.
+@ CHECK-ERRORS: dbg #16
OpenPOWER on IntegriCloud