llvm-6502/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll
2010-04-23 18:38:40 +00:00

8 lines
168 B
LLVM

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