aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2007-06-15-AnnotateAttribute.c
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-08-15 13:49:33 +0000
committerDan Gohman <gohman@apple.com>2007-08-15 13:49:33 +0000
commit43c3db37f633cbed14d5ead201cfab7e67104605 (patch)
tree1b89122ec72a464a3aaa95631ccc2e3dacff9537 /test/CFrontend/2007-06-15-AnnotateAttribute.c
parente5ab8c67653e54bd7eca65554fd393be075dc4b8 (diff)
downloadexternal_llvm-43c3db37f633cbed14d5ead201cfab7e67104605.zip
external_llvm-43c3db37f633cbed14d5ead201cfab7e67104605.tar.gz
external_llvm-43c3db37f633cbed14d5ead201cfab7e67104605.tar.bz2
Convert tests using "grep -c ... | grep ..." to use the count script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41100 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend/2007-06-15-AnnotateAttribute.c')
-rw-r--r--test/CFrontend/2007-06-15-AnnotateAttribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CFrontend/2007-06-15-AnnotateAttribute.c b/test/CFrontend/2007-06-15-AnnotateAttribute.c
index 6fe09c2..56bdc6a 100644
--- a/test/CFrontend/2007-06-15-AnnotateAttribute.c
+++ b/test/CFrontend/2007-06-15-AnnotateAttribute.c
@@ -1,5 +1,5 @@
// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep llvm.global.annotations
-// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep -c llvm.var.annotation | grep 3
+// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep llvm.var.annotation | count 3
#include <stdio.h>