summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/gold/X86/Inputs/comdat2.ll
blob: 20bc4bf023e48726e28e6cddcb9a30bb5d9aaa95 (plain)
1
2
3
4
5
6
7
8
9
10
11
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

$foo = comdat any
@foo = global i8 1, comdat
define void @zed() {
  call void @bar()
  ret void
}
define void @bar() comdat($foo) {
  ret void
}
OpenPOWER on IntegriCloud