diff options
Diffstat (limited to 'test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll')
-rw-r--r-- | test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll b/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll new file mode 100644 index 0000000..e37e112 --- /dev/null +++ b/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | opt -analyze -callgraph -disable-output | grep {Calls function} + +@a = global void ()* @f ; <void ()**> [#uses=0] + +define internal void @f() { + unreachable +} |