[llvm-commits] [llvm] r165594 - /llvm/trunk/test/MC/ARM/diagnostics.s
Craig Topper
craig.topper at gmail.com
Tue Oct 9 19:54:23 PDT 2012
Author: ctopper
Date: Tue Oct 9 21:54:23 2012
New Revision: 165594
URL: http://llvm.org/viewvc/llvm-project?rev=165594&view=rev
Log:
Test case for r165480.
Modified:
llvm/trunk/test/MC/ARM/diagnostics.s
Modified: llvm/trunk/test/MC/ARM/diagnostics.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/diagnostics.s?rev=165594&r1=165593&r2=165594&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/diagnostics.s (original)
+++ llvm/trunk/test/MC/ARM/diagnostics.s Tue Oct 9 21:54:23 2012
@@ -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: ^
More information about the llvm-commits
mailing list