Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / Other / 2002-01-31-CallGraph.ll
1 ;  Call graph construction crash: Not handling indirect calls right
2 ;
3 ; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -callgraph
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