summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll')
-rw-r--r--llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll b/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll
index 0c5ef92ef71..632cd0c790a 100644
--- a/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll
+++ b/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll
@@ -1,7 +1,9 @@
-; RUN: opt < %s -print-callgraph -disable-output |& grep {calls function}
+; RUN: opt < %s -print-callgraph -disable-output |& FileCheck %s
@a = global void ()* @f ; <void ()**> [#uses=0]
+; CHECK: calls function 'f'
+
define internal void @f() {
unreachable
}
OpenPOWER on IntegriCloud