projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15f6b8e
)
Test case for r165480.
author
Craig Topper
<craig.topper@gmail.com>
Wed, 10 Oct 2012 02:54:23 +0000
(
02:54
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Wed, 10 Oct 2012 02:54:23 +0000
(
02:54
+0000)
llvm-svn: 165594
llvm/test/MC/ARM/diagnostics.s
patch
|
blob
|
history
diff --git
a/llvm/test/MC/ARM/diagnostics.s
b/llvm/test/MC/ARM/diagnostics.s
index
ad4d9ab
..
d65cfd7
100644
(file)
--- a/
llvm/test/MC/ARM/diagnostics.s
+++ b/
llvm/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: ^