aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/not-armv4.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ARM/not-armv4.s')
-rw-r--r--test/MC/ARM/not-armv4.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/ARM/not-armv4.s b/test/MC/ARM/not-armv4.s
new file mode 100644
index 0000000..a1ba611
--- /dev/null
+++ b/test/MC/ARM/not-armv4.s
@@ -0,0 +1,8 @@
+@ RUN: not llvm-mc < %s -triple armv4-unknown-unknown -show-encoding 2>&1 | FileCheck %s
+
+@ PR18524
+@ CHECK: error: instruction requires: armv5t
+clz r4,r9
+
+@ CHECK: error: instruction requires: armv6t2
+rbit r4,r9