aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/2008-07-21-mixed-var-fn-decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/2008-07-21-mixed-var-fn-decl.c')
-rw-r--r--test/CodeGen/2008-07-21-mixed-var-fn-decl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/2008-07-21-mixed-var-fn-decl.c b/test/CodeGen/2008-07-21-mixed-var-fn-decl.c
index c55c86b2fc6c..59a3f3884951 100644
--- a/test/CodeGen/2008-07-21-mixed-var-fn-decl.c
+++ b/test/CodeGen/2008-07-21-mixed-var-fn-decl.c
@@ -1,5 +1,8 @@
-// RUN: clang-cc -emit-llvm -o - %s | grep -e "@g[0-9] " | count 2
+// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s
int g0, f0();
int f1(), g1;
+// CHECK: @g0 = common global i32 0, align 4
+// CHECK: @g1 = common global i32 0, align 4
+