Merging r258690:
[oota-llvm.git] / test / Other / 2002-01-31-CallGraph.ll
1 ;  Call graph construction crash: Not handling indirect calls right
2 ;
3 ; RUN: opt < %s -analyze -print-callgraph >& /dev/null
4 ;
5
6         %FunTy = type i32 (i32)
7
8 define void @invoke(%FunTy* %x) {
9         %foo = call i32 %x( i32 123 )           ; <i32> [#uses=0]
10         ret void
11 }
12
13