macho-arm-and-thumb.test 411 Bytes
@ RUN: llvm-mc < %s -triple armv7-apple-darwin -filetype=obj | llvm-objdump -m -d - | FileCheck %s
@ RUN: llvm-mc < %s -triple armv7-apple-darwin -filetype=obj | llvm-objdump -arch armv7 -m -d - | FileCheck %s

.thumb
.thumb_func _t
_t:
nop
nop
.align 2
.arm
_a:
nop
.long 0xf8765432
nop

@ CHECK: 00 bf nop
@ CHECK-NEXT: 00 bf nop
@ CHECK:      00 f0 20 e3 nop
@ CHECK-NEXT: .long 0xf8765432
@ CHECK-NEXT: nop