blob: b2922f8c86c2c6ed5c62ad8ffe8d01b6a6c98e2d [file] [log] [blame]
; Call graph construction crash: Not handling indirect calls right
;
; RUN: opt < %s -passes=print-callgraph > /dev/null 2>&1
;
%FunTy = type i32 (i32)
define void @invoke(%FunTy* %x) {
%foo = call i32 %x( i32 123 ) ; <i32> [#uses=0]
ret void
}