llvm-project/llvm/test/Other/2002-01-31-CallGraph.ll

16 lines
254 B
LLVM
Raw Normal View History

2002-02-01 13:04:58 +08:00
; Call graph construction crash: Not handling indirect calls right
;
; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -callgraph
2002-02-01 13:04:58 +08:00
;
%FunTy = type int(int)
implementation
void "invoke"(%FunTy *%x)
begin
%foo = call %FunTy* %x(int 123)
ret void
end