1# RUN: not --crash llvm-mc -filetype=obj -triple armv7-linux-gnueabi %s -o - 2>&1 | FileCheck %s 2 3 # We cannot switch subtargets mid-bundle 4 .syntax unified 5 .text 6 .bundle_align_mode 4 7 .arch armv4t 8 bx lr 9 .bundle_lock 10 bx lr 11 .arch armv7a 12 movt r0, #0xffff 13 movw r0, #0xffff 14 .bundle_unlock 15 bx lr 16# CHECK: LLVM ERROR: A Bundle can only have one Subtarget. 17