[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / armv8.4a-trace-error.s
blob7ec80408f0ed06a11fc5ca5667993073502f4d09
1 // RUN: not llvm-mc -triple arm -mattr=+v8.4a -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
2 // RUN: not llvm-mc -triple thumb -mattr=+v8.4a -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
4 tsb
5 tsb 0
6 tsb #0
7 tsb foo
9 //CHECK-ERROR: error: too few operands for instruction
10 //CHECK-ERROR: tsb
11 //CHECK-ERROR: ^
12 //CHECK-ERROR: error: invalid operand for instruction
13 //CHECK-ERROR: tsb 0
14 //CHECK-ERROR: ^
15 //CHECK-ERROR: error: invalid operand for instruction
16 //CHECK-ERROR: tsb #0
17 //CHECK-ERROR: ^
18 //CHECK-ERROR: error: invalid operand for instruction
19 //CHECK-ERROR: tsb foo
20 //CHECK-ERROR: ^