summaryrefslogtreecommitdiff
path: root/llvm/test/Linker/metadata-global.ll
blob: cd0b487447acff40917a51f09d37b25697ce2394 (plain)
1
2
3
4
5
6
7
8
9
10
11
; 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}