summaryrefslogtreecommitdiff
path: root/test/MC/ARM/udf-thumb-diagnostics.s
blob: 51388d0f10d6f3fa6da2241bc2b75f06e5ffbdec (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: instruction requires: arm-mode
@ CHECK: 	udf #256
@ CHECK: 	^