COFF: Do not assign linker-weak symbols to selectany comdat sections.
[oota-llvm.git] / test / CodeGen / X86 / coff-weak.ll
1 ; RUN: llc -function-sections -o - %s | FileCheck %s
2
3 target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
4 target triple = "x86_64-pc-windows-msvc"
5
6 ; CHECK: .section{{.*}}one_only
7 define linkonce_odr void @foo() {
8   ret void
9 }