[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / ARM / thumb-not-mclass.s
blob00978c6a273384796cd220add5a26dcf8d536334
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
5 .syntax unified
6 .globl _func
8 @ Check that the assembler rejects thumb instructions that are not valid
9 @ on mclass.
11 @------------------------------------------------------------------------------
12 @ BLX (immediate)
13 @------------------------------------------------------------------------------
14 blx _baz
16 @ CHECK: instruction requires: !armv*m
18 @------------------------------------------------------------------------------
19 @ SETEND
20 @------------------------------------------------------------------------------
22 setend be
23 setend le
25 @ CHECK: error: invalid instruction
26 @ CHECK: error: invalid instruction