aboutsummaryrefslogtreecommitdiff
path: root/test/COFF/reloc-discarded-early2.s
blob: 18e2000087218454f59e35f9acdbcdf1f7394273 (plain) (blame)
1
2
3
4
5
6
7
8
9
# RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t.obj %s
# RUN: not lld-link -entry:__ImageBase -subsystem:console %t.obj 2>&1 | FileCheck %s

.text
# CHECK: error: relocation against symbol in discarded section: .drectve
.quad .Ldrectve

.section .drectve
.Ldrectve: