xref: /llvm-project/llvm/test/MC/AArch64/armv8.5a-bti-error.s (revision a9a5eee1694833989739fc31045b48bdaacafaff)
1// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+bti < %s 2>&1 | FileCheck %s
2
3bti cj
4bti a
5bti x0
6
7// CHECK: invalid operand for instruction
8// CHECK-NEXT: cj
9// CHECK: invalid operand for instruction
10// CHECK-NEXT: a
11// CHECK: invalid operand for instruction
12// CHECK-NEXT: x0
13