summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/udf-thumb-diagnostics.s
blob: b2ae2a18a2610d18a43f8d6371173022bbc61c18 (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 thumbv6m-eabi %s 2>&1 | FileCheck %s

	.syntax unified
	.text
	.thumb

undefined:
	udfpl

@ CHECK: error: conditional execution not supported in Thumb1
@ CHECK: 	udfpl
@ CHECK: 	^

	udf #256

@ CHECK: error: operand must be an immediate in the range [0,255]
@ CHECK: 	udf #256
@ CHECK: 	    ^

OpenPOWER on IntegriCloud