1 @ RUN: not llvm-mc -triple=thumbv7m-apple-darwin -show-encoding < %s 2> %t
2 @ RUN: FileCheck < %t %s
3 @ RUN: not llvm-mc -triple=thumbv6m -show-encoding < %s 2> %t
4 @ RUN: FileCheck < %t %s
8 @ Check that the assembler rejects thumb instructions that are not valid
11 @------------------------------------------------------------------------------
13 @------------------------------------------------------------------------------
16 @ CHECK: error: instruction requires: !armv*m
18 @------------------------------------------------------------------------------
20 @------------------------------------------------------------------------------
25 @ CHECK: error: invalid operand for instruction
26 @ CHECK: error: invalid operand for instruction