1# RUN: not llvm-mc -triple riscv32 < %s 2>&1 | FileCheck %s
2
3mret 0x10 # CHECK: :[[@LINE]]:6: error: invalid operand for instruction
4
5sfence.vma zero, a1, a2 # CHECK: :[[@LINE]]:22: error: invalid operand for instruction
6
7sfence.vma a0, 0x10 # CHECK: :[[@LINE]]:16: error: invalid operand for instruction
8