summaryrefslogtreecommitdiff
path: root/test/Other/2002-01-31-CallGraph.ll
blob: 61c1277d6420e9d39cb41c17e78b51c55c224b62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;  Call graph construction crash: Not handling indirect calls right
;
; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -callgraph
;

%FunTy = type int(int)

implementation

void "invoke"(%FunTy *%x)
begin
	%foo = call %FunTy* %x(int 123)
	ret void
end