Merging the linear scan register allocator in trunk. It currently passes most tests...
[oota-llvm.git] / test / Other / 2002-01-31-CallGraph.ll
1 ;  Call graph construction crash: Not handling indirect calls right
2 ;
3 ; RUN: analyze -callgraph %s
4 ;
5
6 %FunTy = type int(int)
7
8 implementation
9
10 void "invoke"(%FunTy *%x)
11 begin
12         %foo = call %FunTy* %x(int 123)
13         ret void
14 end
15