[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / ARM / arm-branch-errors.s
blob5d7ae12fb3bc0064b10424d02b83f544e6a750a7
1 @ RUN: not llvm-mc -triple=armv7-apple-darwin < %s 2>&1 | FileCheck %s
3 @------------------------------------------------------------------------------
4 @ Branch targets destined for ARM mode must == 0 (mod 4), otherwise (mod 2).
5 @------------------------------------------------------------------------------
7 b #2
8 bl #2
9 beq #2
11 @ CHECK: error: invalid instruction, any one of the following would fix this:
12 @ CHECK: b #2
13 @ CHECK: note: invalid operand for instruction
14 @ CHECK: note: instruction requires: thumb
15 @ CHECK: error: invalid instruction, any one of the following would fix this:
16 @ CHECK: bl #2
17 @ CHECK: note: instruction requires: thumb
18 @ CHECK: note: invalid operand for instruction
19 @ CHECK: error: invalid instruction, any one of the following would fix this:
20 @ CHECK: beq #2
21 @ CHECK: note: invalid operand for instruction
22 @ CHECK: note: instruction requires: thumb