summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/coff-weak.ll
blob: 369750147f29281d87e69f2a1f2042e29ab12e67 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llc -function-sections -o - %s | FileCheck %s

target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-windows-msvc"

; CHECK: .section{{.*}}one_only
define linkonce_odr void @foo() {
  ret void
}
OpenPOWER on IntegriCloud