summaryrefslogtreecommitdiff
path: root/test/MC/ARM/inst-thumb-overflow.s
blob: 34626f97ff0357a46e82e9dedb9352dda5fcb86d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@ RUN: not llvm-mc %s -triple armv7-linux-gnueabi -filetype asm -o - 2>&1 \
@ RUN:   | FileCheck -check-prefix CHECK-ERROR %s

	.syntax unified
	.thumb

	.align 2
	.global constant_overflow
	.type constant_overflow,%function
constant_overflow:
	.inst.n 1 << 31
@ CHECK-ERROR: inst.n operand is too big, use inst.w instead