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