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: instruction requires: thumb 12 @ CHECK: b #2 13 @ CHECK: error: instruction requires: thumb 14 @ CHECK: bl #2 15 @ CHECK: error: instruction requires: thumb 16 @ CHECK: beq #2 17