1 @ RUN: not llvm-mc -triple armv7-eabi -filetype obj -o - %s 2>&1 \
3 @ RUN: not llvm-mc -triple thumbv7-eabi -filetype obj -o - %s 2>&1 \
7 @ CHECK: error: relocated expression must be 32-bit
8 @ CHECK: .byte target(sbrel)
12 @ CHECK: error: relocated expression must be 32-bit
13 @ CHECK: .hword target(sbrel)
17 @ CHECK: error: relocated expression must be 32-bit
18 @ CHECK: .short target(sbrel)
22 @ CHECK: error: relocated expression must be 32-bit
23 @ CHECK: .quad target(sbrel)