blob: 61c1277d6420e9d39cb41c17e78b51c55c224b62 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; Call graph construction crash: Not handling indirect calls right
2;
3; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -callgraph
4;
5
6%FunTy = type int(int)
7
8implementation
9
10void "invoke"(%FunTy *%x)
11begin
12 %foo = call %FunTy* %x(int 123)
13 ret void
14end
15