14 lines · plain
1# REQUIRES: x862# RUN: llvm-mc %s -triple x86_64-pc-win32 -defsym obj=0 -filetype=obj -o %t1.obj3# RUN: llvm-mc %s -triple x86_64-pc-win32 -defsym obj=1 -filetype=obj -o %t2.obj4# RUN: lld-link /lldmingw /noentry /dll %t1.obj %t2.obj /out:%t3.dll5# RUN: not lld-link /noentry /dll %t1.obj %t2.obj /out:%t3.dll6.if obj==07 .section .text$nm, "", discard, symbol8.else9 .section .text$nm, "", same_size, symbol10.endif11 .globl symbol12symbol:13 .long 114