1 ; RUN: llvm-link -S %s %S/Inputs/associated-global.ll | FileCheck %s
3 ; CHECK: @c = internal global i32 1, !associated !0
4 ; CHECK: @d = global i32 0, !associated !1
5 ; CHECK: @a = global i32 0, !associated !2
6 ; CHECK: @b = global i32 0, !associated !3
7 ; CHECK: @c.3 = internal global i32 1, !associated !4
8 ; CHECK: @e = global i32 0, !associated !5
10 ; CHECK: !0 = !{ptr @d}
11 ; CHECK: !1 = !{ptr @c}
12 ; CHECK: !2 = !{ptr @b}
13 ; CHECK: !3 = !{ptr @a}
14 ; CHECK: !4 = !{ptr @e}
15 ; CHECK: !5 = !{ptr @c.3}
18 @a = external global i32, !associated !0
19 @b = global i32 0, !associated !1
20 @c = internal global i32 1, !associated !2
21 @d = global i32 0, !associated !3