summaryrefslogtreecommitdiff
path: root/test/LLVMC/Init.td
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
commitb5fab402d02671f92ea7fc6166ba80e00d6a8388 (patch)
tree7c8d05e37f6dedf1c588a8d4a31b21bc881e5ebd /test/LLVMC/Init.td
parentabf2d986c96185f96d174133da5b8da32fac9e6f (diff)
downloadllvm-b5fab402d02671f92ea7fc6166ba80e00d6a8388.tar.gz
llvm-b5fab402d02671f92ea7fc6166ba80e00d6a8388.tar.bz2
llvm-b5fab402d02671f92ea7fc6166ba80e00d6a8388.tar.xz
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/LLVMC/Init.td')
-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 fbed6d413a..d9a4fc1c1b 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"