llvm-6502/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll
Bill Wendling c6490d138f FileCheck-ize these tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155433 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-24 10:36:42 +00:00

10 lines
188 B
LLVM

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