aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/Windows/invalid-relocation.s
blob: 4f4c59839a6a69d6f4d5563695586e26c72c075b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# RUN: not llvm-mc -triple thumbv7-windows -filetype obj -o /dev/null 2>&1 %s \
# RUN:     | FileCheck %s

	.def invalid_relocation
		.type 32
		.scl 2
	.endef
	.global invalid_relocation
	.thumb_func
invalid_relocation:
	adr r0, invalid_relocation+1

# CHECK: LLVM ERROR: unsupported relocation type: fixup_t2_adr_pcrel_12