1 @ RUN: not llvm-mc -triple=thumbv6-apple-darwin < %s 2> %t
2 @ RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
4 @ Check for various assembly diagnostic messages on invalid input.
6 @ ADD instruction w/o 'S' suffix.
8 @ CHECK-ERRORS: error: invalid instruction
9 @ CHECK-ERRORS: add r1, r2, r3
12 @ Instructions which require v6+ for both registers to be low regs.
15 @ CHECK-ERRORS: error: instruction variant requires Thumb2
16 @ CHECK-ERRORS: add r2, r3
18 @ CHECK-ERRORS: error: instruction variant requires ARMv6 or later
19 @ CHECK-ERRORS: mov r2, r3