1# REQUIRES: x86 2# RUN: llvm-mc %s -triple x86_64-pc-win32 -defsym obj=0 -filetype=obj -o %t1.obj 3# RUN: llvm-mc %s -triple x86_64-pc-win32 -defsym obj=1 -filetype=obj -o %t2.obj 4# RUN: lld-link /lldmingw /noentry /dll %t1.obj %t2.obj /out:%t3.dll 5# RUN: not lld-link /noentry /dll %t1.obj %t2.obj /out:%t3.dll 6.if obj==0 7 .section .text$nm, "", discard, symbol 8.else 9 .section .text$nm, "", same_size, symbol 10.endif 11 .globl symbol 12symbol: 13 .long 1 14