• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3
4tsb
5tsb 0
6tsb #0
7tsb foo
8
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:     ^
21