llvm/lld/test/ELF/lto/Inputs/drop-linkage.ll

target triple = "x86_64-unknown-linux-gnu"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"

$foo = comdat any
define linkonce void @foo() comdat {
  ret void
}

define void @bar() {
  call void @foo()
  ret void
}