1; RUN: llvm-link -S %s %p/Inputs/comdat15.ll -o - | FileCheck %s
2
3$a1 = comdat any
4@bar = global i32 0, comdat($a1)
5
6; CHECK: @bar = global i32 0, comdat($a1)
7; CHECK: @baz = private global i32 42, comdat($a1)
8; CHECK: @a1 = internal alias i32, i32* @baz
9
10