X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLinker%2F2003-08-28-TypeResolvesGlobal3.ll;h=f77d9e6d3b968054930d1a094ed10a621d7865e6;hb=ebf9f0c6cb5eb5a17bae7a24cfe380fe5801a60c;hp=504e8dd47791d019461cdfef75fb38afe24f47d2;hpb=b6cb66f1c3d0fa98132ef85b4c93a700439572db;p=oota-llvm.git diff --git a/test/Linker/2003-08-28-TypeResolvesGlobal3.ll b/test/Linker/2003-08-28-TypeResolvesGlobal3.ll index 504e8dd4779..f77d9e6d3b9 100644 --- a/test/Linker/2003-08-28-TypeResolvesGlobal3.ll +++ b/test/Linker/2003-08-28-TypeResolvesGlobal3.ll @@ -1,15 +1,15 @@ -; RUN: llvm-as < %s > Output/%s.out1.bc -; RUN: echo "%S = type int" | llvm-as > Output/%s.out2.bc -; RUN: llvm-link Output/%s.out[21].bc +; RUN: llvm-as < %s > %t.out1.bc +; RUN: echo "%M = type i32" | llvm-as > %t.out2.bc +; RUN: llvm-link %t.out2.bc %t.out1.bc -%S = type opaque +%M = type opaque ; GLobal using the resolved function prototype -global void(%S*)* %foo +global void (%M*)* @foo ; :0 [#uses=0] -void %foo(int* %V) { - ret void +define void @foo.upgrd.1(i32* %V) { + ret void } -declare void %foo(%S*) +declare void @foo(%M*)