[lldb] Fix warning: 'sprintf' is deprecated in RNBSocketTest
[llvm-project.git] / llvm / test / MC / RISCV / xtheadsync-invalid.s
blobcb54da054f4e94a5ba99dec534e342b2d72b192f
1 # RUN: not llvm-mc -triple riscv32 -mattr=+xtheadsync < %s 2>&1 | FileCheck %s
2 # RUN: not llvm-mc -triple riscv64 -mattr=+xtheadsync < %s 2>&1 | FileCheck %s
4 th.sfence.vmas t0 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
5 th.sync t0 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
6 th.sync.s t0 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction
7 th.sync.i t0 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction
8 th.sync.is t0 # CHECK: :[[@LINE]]:12: error: invalid operand for instruction