1;  Call graph construction crash: Not handling indirect calls right
2;
3; RUN: opt < %s -analyze -print-callgraph -enable-new-pm=0 > /dev/null 2>&1
4; RUN: opt < %s -passes=print-callgraph > /dev/null 2>&1
5;
6
7        %FunTy = type i32 (i32)
8
9define void @invoke(%FunTy* %x) {
10        %foo = call i32 %x( i32 123 )           ; <i32> [#uses=0]
11        ret void
12}
13
14
15