mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-02 00:42:52 +01:00
790231f95e
llvm-svn: 102197
14 lines
259 B
LLVM
14 lines
259 B
LLVM
; 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
|
|
}
|