YouCompleteMe/cpp/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll

8 lines
168 B
LLVM
Raw Normal View History

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