1 # RUN: not llvm-mc -disassemble -triple=riscv32 -mattr=+c < %s 2>&1 | FileCheck %s
2 # RUN: not llvm-mc -disassemble -triple=riscv64 -mattr=+c < %s 2>&1 | FileCheck %s
4 # Test generated by a LLVM MC Disassembler Protocol Buffer Fuzzer
5 # for the RISC-V assembly language.
7 # This should not decode as c.addi16sp with 0 imm when compression is enabled.
9 # CHECK: warning: invalid instruction encoding