summaryrefslogtreecommitdiff
path: root/test/Analysis/CallGraph/2008-09-09-DirectCall.ll
blob: 456ffa25d7bfdd1142468ef27917453e822146ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; 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
}