zig/deps/lld/test/COFF/reloc-discarded-early2.s

10 lines
281 B
ArmAsm
Raw Normal View History

2018-01-18 06:29:21 +08:00
# 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: