diff options
author | Duncan Sands <baldrick@free.fr> | 2007-06-15 17:13:53 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2007-06-15 17:13:53 +0000 |
commit | 9d46cd550761480c25eba51198e9d08068ba4c3f (patch) | |
tree | 13946c7f470604801d0556b24ff310fca1ddddd7 /test | |
parent | d19534add90a2a894af61523b830887097bb780b (diff) |
Use "ignore" rather than grep tricks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37592 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/C++Frontend/2007-05-23-TryFinally.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/C++Frontend/2007-05-23-TryFinally.cpp b/test/C++Frontend/2007-05-23-TryFinally.cpp index 021d528a0c..c99ad6b834 100644 --- a/test/C++Frontend/2007-05-23-TryFinally.cpp +++ b/test/C++Frontend/2007-05-23-TryFinally.cpp @@ -1,4 +1,5 @@ -// RUN: %llvmgxx %s -S -emit-llvm -O2 -o - | grep -c {handle\\|_Unwind_Resume} | grep {\[14\]} +// RUN: %llvmgxx %s -S -emit-llvm -O2 -o - | ignore grep _Unwind_Resume | \ +// RUN: wc -l | grep {\[03\]} struct One { }; struct Two { }; |