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

16 lines
222 B
LLVM

; Call graph construction crash: Not handling indirect calls right
;
; RUN: analyze -callgraph %s
;
%FunTy = type int(int)
implementation
void "invoke"(%FunTy *%x)
begin
%foo = call %FunTy* %x(int 123)
ret void
end