X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLinker%2Flink-global-to-func.ll;h=2fc501dedc90b105321b756207824e5c70f96ce8;hb=8239daf7c83a65a189c352cce3191cdc3bbfe151;hp=a805035eae8955622ce98b2a58cd4fa5cfc572aa;hpb=fea1dd08044c85fb2f74b409704bb742dc817846;p=oota-llvm.git diff --git a/test/Linker/link-global-to-func.ll b/test/Linker/link-global-to-func.ll index a805035eae8..2fc501dedc9 100644 --- a/test/Linker/link-global-to-func.ll +++ b/test/Linker/link-global-to-func.ll @@ -1,7 +1,7 @@ ; RUN: llvm-as %s -o %t1.bc ; RUN: echo {declare void @__eprintf(i8*, i8*, i32, i8*) noreturn define void @foo() { tail call void @__eprintf( i8* undef, i8* undef, i32 4, i8* null ) noreturn nounwind unreachable }} | llvm-as -o %t2.bc -; RUN: llvm-link %t2.bc %t1.bc -o - | llvm-dis | grep __eprintf -; RUN: llvm-link %t1.bc %t2.bc -o - | llvm-dis | grep __eprintf +; RUN: llvm-link %t2.bc %t1.bc -S | grep __eprintf +; RUN: llvm-link %t1.bc %t2.bc -S | grep __eprintf ; rdar://6072702