mirror of
https://github.com/opnsense/src.git
synced 2026-04-25 16:18:54 -04:00
13 lines
259 B
LLVM
13 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
|
|
}
|