Test case for r165480.
authorCraig Topper <craig.topper@gmail.com>
Wed, 10 Oct 2012 02:54:23 +0000 (02:54 +0000)
committerCraig 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

index ad4d9ab..d65cfd7 100644 (file)
 @ 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:             ^