]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll
Import LLVM, at r72732.
[FreeBSD/FreeBSD.git] / test / Analysis / CallGraph / 2008-09-09-UsedByGlobal.ll
1 ; RUN: llvm-as < %s | opt -print-callgraph -disable-output |& \
2 ; RUN:   grep {Calls function}
3
4 @a = global void ()* @f         ; <void ()**> [#uses=0]
5
6 define internal void @f() {
7         unreachable
8 }