[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / RISCV / priv-invalid.s
blob8f421e471f9342390257bc670bc90d37e47d906b
1 # RUN: not llvm-mc -triple riscv32 < %s 2>&1 | FileCheck %s
3 mret 0x10 # CHECK: :[[@LINE]]:6: error: invalid operand for instruction
5 sfence.vma zero, a1, a2 # CHECK: :[[@LINE]]:22: error: invalid operand for instruction
7 sfence.vma a0, 0x10 # CHECK: :[[@LINE]]:16: error: invalid operand for instruction