X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLinker%2FLinkOnce.ll;h=56633fb8da7b2e92ef44794365db521364e1d30f;hb=6e08a410aa0a375450dfbdd3c1114aafc5fb1fb9;hp=b1a021606064297e93a335add3c3c977114645b2;hpb=edca80b5e86363c6e4d5cfeedd6940d991355333;p=oota-llvm.git diff --git a/test/Linker/LinkOnce.ll b/test/Linker/LinkOnce.ll index b1a02160606..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" | llvm-upgrade | llvm-as > %t.2.bc -; RUN: llvm-upgrade < %s | llvm-as > %t.1.bc -; RUN: llvm-link %t.1.bc %t.2.bc | llvm-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]