]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/COFF/reloc-discarded-early2.s
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / COFF / reloc-discarded-early2.s
1 # REQUIRES: x86
2 # RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t.obj %s
3 # RUN: not lld-link -entry:__ImageBase -subsystem:console %t.obj 2>&1 | FileCheck %s
4
5 .text
6 # CHECK: error: relocation against symbol in discarded section: .drectve
7 .quad .Ldrectve
8
9 .section .drectve
10 .Ldrectve: