llvm/lld/test/COFF/comdat-gcc-compatibility-size.test

# RUN: yaml2obj %p/Inputs/comdat-llvm.yaml > %t.llvm.o
# RUN: yaml2obj %p/Inputs/comdat-binutils.yaml > %t.binutils.o
# RUN: lld-link -lldmingw -noentry -dll %t.llvm.o %t.binutils.o -out:%t.dll
# RUN: lld-link -lldmingw -noentry -dll %t.binutils.o %t.llvm.o -out:%t.dll
# RUN: not lld-link -noentry -dll %t.llvm.o %t.binutils.o -out:%t.dll
# RUN: not lld-link -noentry -dll %t.binutils.o %t.llvm.o -out:%t.dll

# The test object files have been generated by assembling the following
# snippet using binutils and llvm.

#        .section .rdata$mysymbol, "dr"
#        .linkonce same_size
#        .globl mysymbol
#mysymbol:
#        .byte 42