X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLinker%2F2002-08-20-ConstantExpr.ll;h=5672014ff663116384b6fcff7d42b554df806b18;hb=6e08a410aa0a375450dfbdd3c1114aafc5fb1fb9;hp=3f1b4bf90a7b0e9b1c6da3b49a7501f8dcc87651;hpb=10806b66d61cb1446d3d38350159140c92463470;p=oota-llvm.git diff --git a/test/Linker/2002-08-20-ConstantExpr.ll b/test/Linker/2002-08-20-ConstantExpr.ll index 3f1b4bf90a7..5672014ff66 100644 --- a/test/Linker/2002-08-20-ConstantExpr.ll +++ b/test/Linker/2002-08-20-ConstantExpr.ll @@ -1,9 +1,9 @@ ; This fails linking when it is linked with an empty file as the first object file -; RUN: as > Output/%s.LinkTest.bc < /dev/null -; RUN: as < %s > Output/%s.bc -; RUN: link Output/%s.LinkTest.bc Output/%s.bc +; RUN: llvm-as > %t.LinkTest.bc < /dev/null +; RUN: llvm-as < %s > %t.bc +; RUN: llvm-link %t.LinkTest.bc %t.bc -%work = global int 4 -%test = global int* getelementptr( int* %work, long 1) +@work = global i32 4 ; [#uses=1] +@test = global i32* getelementptr (i32* @work, i64 1) ; [#uses=0]