summaryrefslogtreecommitdiff
path: root/test/MC/ARM/negative-immediates-thumb1-fail.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ARM/negative-immediates-thumb1-fail.s')
-rw-r--r--test/MC/ARM/negative-immediates-thumb1-fail.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/ARM/negative-immediates-thumb1-fail.s b/test/MC/ARM/negative-immediates-thumb1-fail.s
index 0e8525ede9031..3648721203a0e 100644
--- a/test/MC/ARM/negative-immediates-thumb1-fail.s
+++ b/test/MC/ARM/negative-immediates-thumb1-fail.s
@@ -13,3 +13,8 @@ SUBs r1, r0, #0xFFFFFFF5
SUBs r0, #0xFFFFFEFF
# CHECK: error: immediate operand must be in the range [0,255]
+
+ORRs r0, r1, #0xFFFFFF00
+# CHECK: error: instruction requires: thumb2
+ORNs r0, r1, #0xFFFFFF00
+# CHECK: error: instruction requires: thumb2