Add testcase for r137746.
[oota-llvm.git] / test / MC / ARM / thumb-diagnostics.s
1 @ RUN: not llvm-mc -triple=thumbv6-apple-darwin < %s 2> %t
2 @ RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
3
4 @ Check for various assembly diagnostic messages on invalid input.
5
6 @ ADD instruction w/o 'S' suffix.
7         add r1, r2, r3
8 @ CHECK-ERRORS: error: invalid instruction
9 @ CHECK-ERRORS:         add r1, r2, r3
10 @ CHECK-ERRORS:         ^