X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLinker%2FLinkOnce.ll;h=56633fb8da7b2e92ef44794365db521364e1d30f;hb=3762046dbfbf17b0c21804cce39f02b2dce05ff9;hp=5d731b37c472f520d002cbb308461aed304853cd;hpb=e3e7c474f2d8b32fed4035d1b8e643a2b0ddc0aa;p=oota-llvm.git diff --git a/test/Linker/LinkOnce.ll b/test/Linker/LinkOnce.ll index 5d731b37c47..56633fb8da7 100644 --- a/test/Linker/LinkOnce.ll +++ b/test/Linker/LinkOnce.ll @@ -1,8 +1,8 @@ ; This fails because the linker renames the non-opaque type not the opaque ; one... -; RUN: echo "%X = linkonce global int 8" | as > %t.2.bc -; RUN: as < %s > %t.1.bc -; RUN: link %t.[12].bc | dis +; RUN: echo "@X = linkonce global i32 8" | llvm-as > %t.2.bc +; RUN: llvm-as < %s > %t.1.bc +; RUN: llvm-link %t.1.bc %t.2.bc -S -%X = linkonce global int 7 +@X = linkonce global i32 7 ; [#uses=0]