Pipe 'grep' output to 'count'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91403 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov 2009-12-15 03:04:14 +00:00
parent abf2d986c9
commit b5fab402d0

View File

@ -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"