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