summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-10-10 02:54:23 +0000
committerCraig Topper <craig.topper@gmail.com>2012-10-10 02:54:23 +0000
commit38b25bab29a4c9e1be56d7e233d82b36e7a89fae (patch)
tree6fa9e97d7077910484f18b6cd311a2e7ce8a1408
parent15f6b8ebe8139d6bfc2e3ae683fd5009253ee715 (diff)
downloadbcm5719-llvm-38b25bab29a4c9e1be56d7e233d82b36e7a89fae.tar.gz
bcm5719-llvm-38b25bab29a4c9e1be56d7e233d82b36e7a89fae.zip
Test case for r165480.
llvm-svn: 165594
-rw-r--r--llvm/test/MC/ARM/diagnostics.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/diagnostics.s b/llvm/test/MC/ARM/diagnostics.s
index ad4d9ab9b5e..d65cfd7a67a 100644
--- 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: ^
OpenPOWER on IntegriCloud