1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/Analysis/CallGraph/2008-09-09-DirectCall.ll
2010-04-23 18:38:40 +00:00

14 lines
259 B
LLVM

; RUN: opt < %s -print-callgraph -disable-output |& \
; RUN: grep {calls function 'callee'} | count 2
define internal void @callee(...) {
entry:
unreachable
}
define void @caller() {
entry:
call void (...)* @callee( void (...)* @callee )
unreachable
}