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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165594 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/ARM/diagnostics.s

index ad4d9ab9b5e602f3eec274e291287641be4c1f11..d65cfd7a67a56ed60eb56a5c7c4eee282b88abc7 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:             ^