aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/CallGraph/2008-09-09-DirectCall.ll
blob: 3977a5c5b46b4b18c5eeedabd57a8fffa7cc47b4 (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
}