2 # RUN: not llvm-mc -triple=riscv32 -mattr=+zks < %s 2>&1 \
3 # RUN: | FileCheck %s --check-prefix=CHECK-ERROR
5 # With Zksed extension:
6 # RUN: not llvm-mc -triple=riscv32 -mattr=+zksed < %s 2>&1 \
7 # RUN: | FileCheck %s --check-prefix=CHECK-ERROR
9 # CHECK-ERROR: immediate must be an integer in the range [0, 3]
12 # CHECK-ERROR: immediate must be an integer in the range [0, 3]