xref: /aosp_15_r20/external/llvm/test/MC/ARM/udf-thumb-diagnostics.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1@ RUN: not llvm-mc -triple thumbv6m-eabi %s 2>&1 | FileCheck %s
2
3	.syntax unified
4	.text
5	.thumb
6
7undefined:
8	udfpl
9
10@ CHECK: error: conditional execution not supported in Thumb1
11@ CHECK: 	udfpl
12@ CHECK: 	^
13
14	udf #256
15
16@ CHECK: error: instruction requires: arm-mode
17@ CHECK: 	udf #256
18@ CHECK: 	^
19
20