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
8 # The test object files have been generated by assembling the following
9 # snippet using binutils and llvm.
11 # .section .rdata$mysymbol, "dr"