Sign in
llvm
/
llvm-project
/
llvm
/
refs/heads/master
/
.
/
test
/
Other
/
2002-01-31-CallGraph.ll
blob: d39e85a04895a7cb46b3dbd5332af70eb367b1be [
file
] [
log
] [
blame
]
; Call graph construction crash: Not handling indirect calls right
;
; RUN: opt < %s -passes=print-callgraph > /dev/null 2>&1
;
%FunTy
=
type
i32
(
i32
)
define
void
@invoke
(
ptr
%x
)
{
%foo
=
call
i32
%x
(
i32
123
)
; <i32> [#uses=0]
ret
void
}