@ RUN: llvm-mc -mcpu=cortex-a8 -triple thumbv7-apple-darwin10 -filetype=obj -o - < %s | llvm-readobj -r --expand-relocs - | FileCheck %s
.thumb
.thumb_func foo
foo:
movw r0, :lower16:(bar + 16)
movt r0, :upper16:(bar + 16)
bx r0
@ CHECK: Relocations