From ebf3a37c0a5cea1ded89750e88d672951bf133cc Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 10 Oct 2012 02:54:23 +0000 Subject: Test case for r165480. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165594 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/ARM/diagnostics.s | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test/MC/ARM') diff --git a/test/MC/ARM/diagnostics.s b/test/MC/ARM/diagnostics.s index ad4d9ab9b5..d65cfd7a67 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: ^ -- cgit v1.2.3