[llvm-commits] CVS: llvm/test/C++Frontend/2007-05-23-TryFinally.cpp

Duncan Sands baldrick at free.fr
Fri Jun 15 10:14:26 PDT 2007



Changes in directory llvm/test/C++Frontend:

2007-05-23-TryFinally.cpp updated: 1.2 -> 1.3
---
Log message:

Use "ignore" rather than grep tricks.


---
Diffs of the changes:  (+2 -1)

 2007-05-23-TryFinally.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/test/C++Frontend/2007-05-23-TryFinally.cpp
diff -u llvm/test/C++Frontend/2007-05-23-TryFinally.cpp:1.2 llvm/test/C++Frontend/2007-05-23-TryFinally.cpp:1.3
--- llvm/test/C++Frontend/2007-05-23-TryFinally.cpp:1.2	Thu Jun  7 04:00:48 2007
+++ llvm/test/C++Frontend/2007-05-23-TryFinally.cpp	Fri Jun 15 12:13:53 2007
@@ -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 { };






More information about the llvm-commits mailing list