blob: 61c1277d6420e9d39cb41c17e78b51c55c224b62 [file] [log] [blame]
Chris Lattner07ae06d2002-02-01 05:04:58 +00001; Call graph construction crash: Not handling indirect calls right
2;
Reid Spencer69ccadd2006-12-02 04:23:10 +00003; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -callgraph
Chris Lattner07ae06d2002-02-01 05:04:58 +00004;
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