llvm-project/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll

9 lines
179 B
LLVM

; RUN: opt < %s -print-callgraph -disable-output |& \
; RUN: grep {Calls function}
@a = global void ()* @f ; <void ()**> [#uses=0]
define internal void @f() {
unreachable
}