aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/type-unique-alias.ll
blob: e43450fbbeb3bfdc3dc9b91df03e53011e0b1765 (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* @g

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