[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / armv8.4a-trace-error.s
blob99b61280a3180a1e9725a87c0eef6e2fff2f029d
1 // RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.4a < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
3 //------------------------------------------------------------------------------
4 // ARMV8.4-A Debug, Trace and PMU Extensions
5 //------------------------------------------------------------------------------
7 tsb
8 tsb foo
9 tsb #0
10 tsb 0
12 //CHECK-ERROR: error: too few operands for instruction
13 //CHECK-ERROR: tsb
14 //CHECK-ERROR: ^
15 //CHECK-ERROR: error: 'csync' operand expected
16 //CHECK-ERROR: tsb foo
17 //CHECK-ERROR: ^
18 //CHECK-ERROR: error: 'csync' operand expected
19 //CHECK-ERROR: tsb #0
20 //CHECK-ERROR: ^
21 //CHECK-ERROR: error: 'csync' operand expected
22 //CHECK-ERROR: tsb 0
23 //CHECK-ERROR: ^