aboutsummaryrefslogtreecommitdiffstats
path: root/test/Other/2002-01-31-CallGraph.ll
blob: 279369de6651f121a4a62d6bb7a09eb1b1da0952 (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-as < %s | opt -analyze -callgraph
;

%FunTy = type int(int)

implementation

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