summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/csdb-errors.s
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/ARM/csdb-errors.s')
-rw-r--r--llvm/test/MC/ARM/csdb-errors.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/csdb-errors.s b/llvm/test/MC/ARM/csdb-errors.s
new file mode 100644
index 00000000000..af74a46b27c
--- /dev/null
+++ b/llvm/test/MC/ARM/csdb-errors.s
@@ -0,0 +1,6 @@
+// RUN: not llvm-mc -triple armv8a-none-eabi %s 2>&1 | FileCheck %s
+// RUN: not llvm-mc -triple thumbv8a-none-eabi %s 2>&1 | FileCheck %s
+
+ it eq
+ csdbeq
+// CHECK: error: instruction 'csdb' is not predicable, but condition code specified
OpenPOWER on IntegriCloud