summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/udf-arm-diagnostics.s
blob: 71a1e387eebbc88d86171ed899e4a9e2f5d7b985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@ RUN: not llvm-mc -triple arm-eabi %s 2>&1 | FileCheck %s

	.syntax unified
	.text
	.arm

undefined:
	udfpl

@ CHECK: error: instruction 'udf' is not predicable, but condition code specified
@ CHECK: 	udfpl
@ CHECK: 	^

	udf #65536

@ CHECK: error: immediate operand must be in the range [0,65535]
@ CHECK: 	udf #65536
@ CHECK: 	    ^

OpenPOWER on IntegriCloud