diff options
Diffstat (limited to 'llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll')
| -rw-r--r-- | llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll b/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll new file mode 100644 index 00000000000..e37e112f341 --- /dev/null +++ b/llvm/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 +} |

