summaryrefslogtreecommitdiff
path: root/test/Linker/type-unique-alias.ll
blob: 89e08dd593d18dbc4691cc9fe20fd96c8ac09d54 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-link -S %s %p/Inputs/type-unique-alias.ll | FileCheck %s

%t = type { i8 }

@g = global %t zeroinitializer
@a = weak alias %t, %t* @g

; CHECK: @g = global %t zeroinitializer
; CHECK: @g2 = global %t zeroinitializer
; CHECK: @a = weak alias %t, %t* @g