xref: /llvm-project/llvm/test/MC/ARM/thumb1-relax-adr.s (revision 6e3b2cb46ef5b9d9d28ed337491ee7da7b296616)
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        adr r0, _func2
7@ CHECK-ERROR: :[[#@LINE-1]]:9: error: unsupported relocation type
8