[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / ARM / arm-elf-relocation-diagnostics.s
blob6875d03b303e051094a01d1f14b9b3d9a1cbc778
1 @ RUN: not llvm-mc -triple armv7-eabi -filetype obj -o - %s 2>&1 \
2 @ RUN: | FileCheck %s
3 @ RUN: not llvm-mc -triple thumbv7-eabi -filetype obj -o - %s 2>&1 \
4 @ RUN: | FileCheck %s
6 .byte target(sbrel)
7 @ CHECK: error: relocated expression must be 32-bit
8 @ CHECK: .byte target(sbrel)
9 @ CHECK: ^
11 .hword target(sbrel)
12 @ CHECK: error: relocated expression must be 32-bit
13 @ CHECK: .hword target(sbrel)
14 @ CHECK: ^
16 .short target(sbrel)
17 @ CHECK: error: relocated expression must be 32-bit
18 @ CHECK: .short target(sbrel)
19 @ CHECK: ^
21 .quad target(sbrel)
22 @ CHECK: error: relocated expression must be 32-bit
23 @ CHECK: .quad target(sbrel)
24 @ CHECK: ^