blob: 56633fb8da7b2e92ef44794365db521364e1d30f [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; This fails because the linker renames the non-opaque type not the opaque
2; one...
3
Tanya Lattner003eae52008-03-10 07:21:50 +00004; RUN: echo "@X = linkonce global i32 8" | llvm-as > %t.2.bc
5; RUN: llvm-as < %s > %t.1.bc
Dan Gohman0682a462009-09-15 15:38:31 +00006; RUN: llvm-link %t.1.bc %t.2.bc -S
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007
Tanya Lattner003eae52008-03-10 07:21:50 +00008@X = linkonce global i32 7 ; <i32*> [#uses=0]