diff options
Diffstat (limited to 'test/MC/ARM/thumb2-diagnostics.s')
-rw-r--r-- | test/MC/ARM/thumb2-diagnostics.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/ARM/thumb2-diagnostics.s b/test/MC/ARM/thumb2-diagnostics.s index bb96db05b92..b2b14bc13d6 100644 --- a/test/MC/ARM/thumb2-diagnostics.s +++ b/test/MC/ARM/thumb2-diagnostics.s @@ -81,3 +81,10 @@ foo2: @ CHECK-ERRORS: ^ @ CHECK-ERRORS: error: immediate expression for mov requires :lower16: or :upper16 @ CHECK-ERRORS: ^ + + and sp, r1, #80008000 + and pc, r1, #80008000 +@ CHECK-ERRORS: error: invalid operand for instruction +@ CHECK-ERRORS: error: invalid operand for instruction + + |