blob: a3afc379c5a6880204f4bc578680d9b752c47116 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
; RUN: llvm-as < %s | opt -callgraph -disable-output |& grep {Calls function 'callee'} | count 2
define internal void @callee(...) {
entry:
unreachable
}
define void @caller() {
entry:
call void (...)* @callee( void (...)* @callee )
unreachable
}
|