xref: /llvm-project/llvm/test/MC/AArch64/armv8.9a-specres2-error.s (revision 2050e7ebe18cc4cf906d9b54d17ee885cd868327)
1// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+specres2 < %s 2>&1| FileCheck %s
2
3cosp rctx
4
5// CHECK: specified cosp op requires a register
6
7cosp x0, x1
8
9// CHECK:      invalid operand for prediction restriction instruction
10// CHECK-NEXT: cosp
11