Duncan Sands | 99c1a7c | 2008-09-09 12:40:47 +0000 | [diff] [blame^] | 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 | } |