llvm-6502/test/Other/2002-01-31-CallGraph.ll
2006-08-27 22:44:20 +00:00

16 lines
239 B
LLVM

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