summaryrefslogtreecommitdiff
path: root/test/Linker/link-type-names.ll
blob: bfc3b64361dcf9159195a74bb44cbf5333525ae8 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: echo "%X = type { i32 } @G2 = global %X { i32 4 }" > %t.ll
; RUN: llvm-link %s %t.ll -S | FileCheck %s
; PR11464

%X = type { i32 }
@G = global %X { i32 4 }


; CHECK: @G = global %X { i32 4 }
; CHECK: @G2 = global %X { i32 4 }