llvm-6502/test/Analysis/CallGraph/2008-09-09-DirectCall.ll

14 lines
269 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | opt -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
}