From: Craig Topper Date: Wed, 10 Oct 2012 02:54:23 +0000 (+0000) Subject: Test case for r165480. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ebf3a37c0a5cea1ded89750e88d672951bf133cc;p=oota-llvm.git Test case for r165480. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165594 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/MC/ARM/diagnostics.s b/test/MC/ARM/diagnostics.s index ad4d9ab9b5e..d65cfd7a67a 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: ^