aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-12-15 03:04:14 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-12-15 03:04:14 +0000
commit0e4f60395f69857730808200642874b0ecd44896 (patch)
tree7c8d05e37f6dedf1c588a8d4a31b21bc881e5ebd /test
parentbc4f5408a6a0881c31e2a3165d022d74a6b2b9e5 (diff)
downloadexternal_llvm-0e4f60395f69857730808200642874b0ecd44896.zip
external_llvm-0e4f60395f69857730808200642874b0ecd44896.tar.gz
external_llvm-0e4f60395f69857730808200642874b0ecd44896.tar.bz2
Pipe 'grep' output to 'count'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91403 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/LLVMC/Init.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/LLVMC/Init.td b/test/LLVMC/Init.td
index fbed6d4..d9a4fc1 100644
--- a/test/LLVMC/Init.td
+++ b/test/LLVMC/Init.td
@@ -1,7 +1,7 @@
// Check that (init true/false) and (init "str") work.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
-// RUN: grep cl::init("some-string") %t
-// RUN: grep cl::init(true) %t
+// RUN: grep cl::init(\\"some-string\\") %t | count 1
+// RUN: grep cl::init(true) %t | count 1
include "llvm/CompilerDriver/Common.td"