[llvm-commits] [llvm] r137754 - /llvm/trunk/test/MC/ARM/thumb-diagnostics.s

Jim Grosbach grosbach at apple.com
Tue Aug 16 14:11:21 PDT 2011


Author: grosbach
Date: Tue Aug 16 16:11:21 2011
New Revision: 137754

URL: http://llvm.org/viewvc/llvm-project?rev=137754&view=rev
Log:
Add testcase for r137746.

Added:
    llvm/trunk/test/MC/ARM/thumb-diagnostics.s

Added: llvm/trunk/test/MC/ARM/thumb-diagnostics.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/thumb-diagnostics.s?rev=137754&view=auto
==============================================================================
--- llvm/trunk/test/MC/ARM/thumb-diagnostics.s (added)
+++ llvm/trunk/test/MC/ARM/thumb-diagnostics.s Tue Aug 16 16:11:21 2011
@@ -0,0 +1,10 @@
+@ RUN: not llvm-mc -triple=thumbv6-apple-darwin < %s 2> %t
+@ RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
+
+@ Check for various assembly diagnostic messages on invalid input.
+
+@ ADD instruction w/o 'S' suffix.
+        add r1, r2, r3
+@ CHECK-ERRORS: error: invalid instruction
+@ CHECK-ERRORS:         add r1, r2, r3
+@ CHECK-ERRORS:         ^





More information about the llvm-commits mailing list