[MC, COFF] Support link /incremental conditionally
[oota-llvm.git] / test / MC / ARM / Windows / invalid-relocation.s
1 # RUN: not llvm-mc -triple thumbv7-windows -incremental-linker-compatible -filetype obj -o /dev/null 2>&1 %s \
2 # RUN:     | FileCheck %s
3
4         .def invalid_relocation
5                 .type 32
6                 .scl 2
7         .endef
8         .global invalid_relocation
9         .thumb_func
10 invalid_relocation:
11         adr r0, invalid_relocation+1
12
13 # CHECK: LLVM ERROR: unsupported relocation type: fixup_t2_adr_pcrel_12
14