llvm-for-llvmta/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll

10 lines
192 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: opt < %s -print-callgraph -disable-output 2>&1 | FileCheck %s
@a = global void ()* @f ; <void ()**> [#uses=0]
; CHECK: calls function 'f'
define internal void @f() {
unreachable
}