1# RUN: yaml2obj %p/Inputs/comdat-llvm.yaml > %t.llvm.o 2# RUN: yaml2obj %p/Inputs/comdat-binutils.yaml > %t.binutils.o 3# RUN: lld-link -lldmingw -noentry -dll %t.llvm.o %t.binutils.o -out:%t.dll 4# RUN: lld-link -lldmingw -noentry -dll %t.binutils.o %t.llvm.o -out:%t.dll 5# RUN: not lld-link -noentry -dll %t.llvm.o %t.binutils.o -out:%t.dll 6# RUN: not lld-link -noentry -dll %t.binutils.o %t.llvm.o -out:%t.dll 7 8# The test object files have been generated by assembling the following 9# snippet using binutils and llvm. 10 11# .section .rdata$mysymbol, "dr" 12# .linkonce same_size 13# .globl mysymbol 14#mysymbol: 15# .byte 42 16