1@ RUN: not llvm-mc -triple=armv7-apple-darwin < %s 2>&1 | FileCheck %s 2 3@------------------------------------------------------------------------------ 4@ Branch targets destined for ARM mode must == 0 (mod 4), otherwise (mod 2). 5@------------------------------------------------------------------------------ 6 7 b #2 8 bl #2 9 beq #2 10 11@ CHECK: error: invalid instruction, any one of the following would fix this: 12@ CHECK: b #2 13@ CHECK: note: instruction requires: thumb 14@ CHECK: note: invalid operand for instruction 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: instruction requires: thumb 22@ CHECK: note: invalid operand for instruction 23