summaryrefslogtreecommitdiff
path: root/test/CodeGen/2008-07-21-mixed-var-fn-decl.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-10-26 20:49:20 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-10-26 20:49:20 +0000
commit07e72fd5cbfa46a5e9459a057ec0077cd4167d7f (patch)
treebe5237b482e9f87bc89a1ac9768a71a02cbb44bf /test/CodeGen/2008-07-21-mixed-var-fn-decl.c
parentef78ac60136dc694ed383b3d0109224d97791d2f (diff)
downloadclang-07e72fd5cbfa46a5e9459a057ec0077cd4167d7f.tar.gz
Convert a few tests to FileCheck for PR5307.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85154 91177308-0d34-0410-b5e6-96231b3b80d8
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 c55c86b2fc..59a3f38849 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
+