opnsense-src/test/Analysis/CallGraph/2008-09-09-DirectCall.ll
2009-10-14 17:57:32 +00:00

13 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
}