2 # RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc %s -o %t
3 # RUN: llvm-jitlink -num-threads=0 -debug-only=jitlink -noexec %t 2>&1 \
6 # Check a COMDAT any symbol is exported as a weak symbol.
8 # CHECK: Creating graph symbols...
9 # CHECK: 8: Exporting COMDAT graph symbol for COFF symbol "func" in section 4
10 # CHECK-NEXT: 0x0 (block + 0x00000000): size: 0x00000000, linkage: weak, scope: default, dead - func
18 .section .text,"xr",discard,func