blob: e09461dc2acb0767a527ce3b0b24c1237523009f [file] [log] [blame]
; Call graph construction crash: Not handling indirect calls right
;
; RUN: llvm-as < %s | opt -analyze -callgraph
;
%FunTy = type i32 (i32)
define void @invoke(%FunTy* %x) {
%foo = call i32 %x( i32 123 ) ; <i32> [#uses=0]
ret void
}