xref: /llvm-project/llvm/test/MC/ARM/thumb1-relax-ldrlit.s (revision bbc5d9fe427362f3fec8d147d5f7bc2d39b08e44)
1@ RUN: not llvm-mc -triple thumbv6m-none-macho -filetype=obj -o /dev/null %s 2>&1 | FileCheck --check-prefix=CHECK-ERROR %s
2@ RUN: not llvm-mc -triple thumbv7m-none-macho -filetype=obj -o /dev/null %s 2>&1 | FileCheck --check-prefix=CHECK-ERROR %s
3
4        .global func1
5_func1:
6@ CHECK-ERROR: :[[#@LINE+1]]:9: error: unsupported relocation type
7        ldr r0, _func2
8