summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll
blob: cef129192f82df3346e93b29a755342be84a2f17 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s | opt -instcombine -disable-output

declare int* %bar()

float* %foo() {
	%tmp.11 = invoke float* cast (int* ()* %bar to float* ()*)()
			to label %invoke_cont except label %invoke_cont

invoke_cont:
	ret float *%tmp.11
}