4f4c59839a6a69d6f4d5563695586e26c72c075b
[oota-llvm.git] / test / MC / ARM / Windows / invalid-relocation.s
1 # RUN: not llvm-mc -triple thumbv7-windows -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