summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/riscv/zicboz-fail.l
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/riscv/zicboz-fail.l')
-rw-r--r--gas/testsuite/gas/riscv/zicboz-fail.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/testsuite/gas/riscv/zicboz-fail.l b/gas/testsuite/gas/riscv/zicboz-fail.l
new file mode 100644
index 00000000000..ad8dcf54e00
--- /dev/null
+++ b/gas/testsuite/gas/riscv/zicboz-fail.l
@@ -0,0 +1,5 @@
+.*: Assembler messages:
+.*: Error: illegal operands `cbo.zero x1'
+.*: Error: illegal operands `cbo.zero 1\(x30\)'
+.*: Error: illegal operands `cbo.zero 3\+5\(x1\)'
+.*: Error: illegal operands `cbo.zero \(2\*4\)\(x30\)'