Correct callgraph construction. It has two problems:
[oota-llvm.git] / test / Analysis / CallGraph / 2008-09-09-DirectCall.ll
1 ; RUN: llvm-as < %s | opt -analyze -callgraph -disable-output | grep {Calls function 'callee'} | count 2
2
3 define internal void @callee(...) {
4 entry:
5         unreachable
6 }
7
8 define void @caller() {
9 entry:
10         call void (...)* @callee( void (...)* @callee )
11         unreachable
12 }