; RUN: llvm-link %s -S | FileCheck %s
; CHECK-DAG: @a = global i32 0
; CHECK-DAG: @b = global i32 0, !associated !0
; CHECK-DAG: !0 = !{ptr @a}
@a = global i32 0
@b = global i32 0, !associated !0
!0 = !{ptr @a}
; RUN: llvm-link %s -S | FileCheck %s
; CHECK-DAG: @a = global i32 0
; CHECK-DAG: @b = global i32 0, !associated !0
; CHECK-DAG: !0 = !{ptr @a}
@a = global i32 0
@b = global i32 0, !associated !0
!0 = !{ptr @a}