summaryrefslogtreecommitdiffstats
path: root/llvm/test/CFrontend/2007-04-11-InlineStorageClassC99.c
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-08-15 13:36:28 +0000
committerDan Gohman <gohman@apple.com>2007-08-15 13:36:28 +0000
commitf9dd170e36e465bc8a16d31daae4ee775504fc47 (patch)
treee8cd2e8640601e2d8257120efe6037e3fb1a4f38 /llvm/test/CFrontend/2007-04-11-InlineStorageClassC99.c
parent3640e780577af9115e58823b9b688e4ef5d58908 (diff)
downloadbcm5719-llvm-f9dd170e36e465bc8a16d31daae4ee775504fc47.tar.gz
bcm5719-llvm-f9dd170e36e465bc8a16d31daae4ee775504fc47.zip
Convert tests using "| wc -l | grep ..." to use the count script.
llvm-svn: 41097
Diffstat (limited to 'llvm/test/CFrontend/2007-04-11-InlineStorageClassC99.c')
-rw-r--r--llvm/test/CFrontend/2007-04-11-InlineStorageClassC99.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/test/CFrontend/2007-04-11-InlineStorageClassC99.c b/llvm/test/CFrontend/2007-04-11-InlineStorageClassC99.c
index 2f09268b3fc..f6193aa0ff6 100644
--- a/llvm/test/CFrontend/2007-04-11-InlineStorageClassC99.c
+++ b/llvm/test/CFrontend/2007-04-11-InlineStorageClassC99.c
@@ -1,19 +1,19 @@
// RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep declare | \
-// RUN: grep xglobWeak | grep extern_weak | wc -l | grep 1
+// RUN: grep xglobWeak | grep extern_weak | count 1
// RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep define | \
-// RUN: grep xextWeak | grep weak | wc -l | grep 1
+// RUN: grep xextWeak | grep weak | count 1
// RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep define | \
-// RUN: grep xWeaknoinline | grep weak | wc -l | grep 1
+// RUN: grep xWeaknoinline | grep weak | count 1
// RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep define | \
-// RUN: grep xWeakextnoinline | grep weak | wc -l | grep 1
+// RUN: grep xWeakextnoinline | grep weak | count 1
// RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep declare | \
// RUN: grep xglobnoWeak | grep -v internal | grep -v weak | \
-// RUN: grep -v linkonce | wc -l | grep 1
+// RUN: grep -v linkonce | count 1
// RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep define | \
-// RUN: grep xstatnoWeak | grep internal | wc -l | grep 1
+// RUN: grep xstatnoWeak | grep internal | count 1
// RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep define | \
// RUN: grep xextnoWeak | grep -v internal | grep -v weak | \
-// RUN: grep -v linkonce | wc -l | grep 1
+// RUN: grep -v linkonce | count 1
inline int xglobWeak(int) __attribute__((weak));
inline int xglobWeak (int i) {
return i*2;
OpenPOWER on IntegriCloud