summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/copy-constructor-elim.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-04 15:22:16 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-04 15:22:16 +0000
commitbe8a91b771dfd0cc63f24a417c618f6df6464051 (patch)
tree9d9e5765c127ad03fc8eb8acc80452aef7132237 /clang/test/CodeGenCXX/copy-constructor-elim.cpp
parent0cf7c9384954a51c2902a061c6c2dec0aec7f3b5 (diff)
downloadbcm5719-llvm-be8a91b771dfd0cc63f24a417c618f6df6464051.tar.gz
bcm5719-llvm-be8a91b771dfd0cc63f24a417c618f6df6464051.zip
Replace 'grep foo | count 0' with 'not grep foo'.
This avoids depending on pipefail not being used. llvm-svn: 185648
Diffstat (limited to 'clang/test/CodeGenCXX/copy-constructor-elim.cpp')
-rw-r--r--clang/test/CodeGenCXX/copy-constructor-elim.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/copy-constructor-elim.cpp b/clang/test/CodeGenCXX/copy-constructor-elim.cpp
index c883584fe02..ad3a87b9d5f 100644
--- a/clang/test/CodeGenCXX/copy-constructor-elim.cpp
+++ b/clang/test/CodeGenCXX/copy-constructor-elim.cpp
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -emit-llvm -o %t %s
-// RUN: grep "_ZN1CC1ERK1C" %t | count 0
-// RUN: grep "_ZN1SC1ERK1S" %t | count 0
+// RUN: not grep "_ZN1CC1ERK1C" %t
+// RUN: not grep "_ZN1SC1ERK1S" %t
extern "C" int printf(...);
OpenPOWER on IntegriCloud