[Hexagon] Adding test to make sure labels and register pairs are correctly parsed.
[oota-llvm.git] / test / MC / ARM / inst-thumb-overflow.s
1 @ RUN: not llvm-mc %s -triple armv7-linux-gnueabi -filetype asm -o - 2>&1 \
2 @ RUN:   | FileCheck -check-prefix CHECK-ERROR %s
3
4         .syntax unified
5         .thumb
6
7         .align 2
8         .global constant_overflow
9         .type constant_overflow,%function
10 constant_overflow:
11         .inst.n 1 << 31
12 @ CHECK-ERROR: inst.n operand is too big, use inst.w instead
13