ARM: implement support for the UDF mnemonic
[oota-llvm.git] / test / MC / ARM / udf-thumb-diagnostics.s
1 @ RUN: not llvm-mc -triple thumbv6m-eabi %s 2>&1 | FileCheck %s
2
3         .syntax unified
4         .text
5         .thumb
6
7 undefined:
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