2003-04-17 05:21:35 +08:00
|
|
|
; This fails because the linker renames the non-opaque type not the opaque
|
|
|
|
; one...
|
|
|
|
|
2008-03-10 15:21:50 +08:00
|
|
|
; RUN: echo "@X = linkonce global i32 8" | llvm-as > %t.2.bc
|
|
|
|
; RUN: llvm-as < %s > %t.1.bc
|
2007-04-16 02:11:57 +08:00
|
|
|
; RUN: llvm-link %t.1.bc %t.2.bc | llvm-dis
|
2003-04-17 05:21:35 +08:00
|
|
|
|
2008-03-10 15:21:50 +08:00
|
|
|
@X = linkonce global i32 7 ; <i32*> [#uses=0]
|