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