Sign in
rust
/
rust-lang
/
llvm-project
/
refs/heads/rustc/17.0-2023-07-29
/
.
/
llvm
/
test
/
Analysis
/
CallGraph
/
2008-09-09-UsedByGlobal.ll
blob: 76d9900ae229b28e53d9cce310c04cfc1b0b9ac3 [
file
] [
log
] [
blame
] [
edit
]
; RUN: opt < %s -passes=print-callgraph -disable-output 2>&1 | FileCheck %s
@a
=
global
ptr
@f
; <ptr> [#uses=0]
; CHECK: calls function 'f'
define
internal
void
@f
()
{
unreachable
}