summaryrefslogtreecommitdiff
path: root/test/Analysis/CallGraph/2008-09-09-DirectCall.ll
blob: 784d6c7ba1b123ab1e9246ee0561477e91d95613 (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
}