14 lines · plain
1; Call graph construction crash: Not handling indirect calls right2;3; RUN: opt < %s -passes=print-callgraph > /dev/null 2>&14;5 6 %FunTy = type i32 (i32)7 8define void @invoke(ptr %x) {9 %foo = call i32 %x( i32 123 ) ; <i32> [#uses=0]10 ret void11}12 13 14