aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/udf-arm.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ARM/udf-arm.s')
-rw-r--r--test/MC/ARM/udf-arm.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MC/ARM/udf-arm.s b/test/MC/ARM/udf-arm.s
new file mode 100644
index 0000000..a9d19ca
--- /dev/null
+++ b/test/MC/ARM/udf-arm.s
@@ -0,0 +1,11 @@
+@ RUN: llvm-mc -triple arm-eabi -show-encoding %s | FileCheck %s
+
+ .syntax unified
+ .text
+ .arm
+
+undefined:
+ udf #0
+
+@ CHECK: udf #0 @ encoding: [0xf0,0x00,0xf0,0xe7]
+