diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-10-10 02:54:23 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-10-10 02:54:23 +0000 |
commit | ebf3a37c0a5cea1ded89750e88d672951bf133cc (patch) | |
tree | 9a63dffd340c739efe063a3bf1bae02fd307335b /test/MC/ARM | |
parent | a5971e8c004c588a8dfa90da49986af60620189e (diff) | |
download | external_llvm-ebf3a37c0a5cea1ded89750e88d672951bf133cc.zip external_llvm-ebf3a37c0a5cea1ded89750e88d672951bf133cc.tar.gz external_llvm-ebf3a37c0a5cea1ded89750e88d672951bf133cc.tar.bz2 |
Test case for r165480.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165594 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM')
-rw-r--r-- | test/MC/ARM/diagnostics.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/ARM/diagnostics.s b/test/MC/ARM/diagnostics.s index ad4d9ab..d65cfd7 100644 --- a/test/MC/ARM/diagnostics.s +++ b/test/MC/ARM/diagnostics.s @@ -361,3 +361,13 @@ @ CHECK-ERRORS: error: invalid operand for instruction @ CHECK-ERRORS: cps f,#1 @ CHECK-ERRORS: ^ + + @ Bad operands for msr + msr #0, #0 + msr foo, #0 +@ CHECK-ERRORS: error: invalid operand for instruction +@ CHECK-ERRORS: msr #0, #0 +@ CHECK-ERRORS: ^ +@ CHECK-ERRORS: error: invalid operand for instruction +@ CHECK-ERRORS: msr foo, #0 +@ CHECK-ERRORS: ^ |