aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll')
-rw-r--r--test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll b/test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll
index 17ace8a950bb..d51c159a9117 100644
--- a/test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll
+++ b/test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -globalsmodref-aa -gvn -S | grep call | count 2
+; RUN: opt < %s -globalsmodref-aa -gvn -S | FileCheck %s
@g = internal global i32 0 ; <i32*> [#uses=2]
@@ -8,6 +8,8 @@ define i32 @r() {
}
define i32 @f() {
+; CHECK: call i32 @e()
+; CHECK: call i32 @e()
entry:
%tmp = call i32 @e( ) ; <i32> [#uses=1]
store i32 %tmp, i32* @g