allwinner_a64/android/external/llvm/test/Other/2002-01-31-CallGraph.ll
2018-08-08 16:14:42 +08:00

13 lines
282 B
LLVM

; Call graph construction crash: Not handling indirect calls right
;
; RUN: opt < %s -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
}