Make this test pass if llvm-g++ was built without exception handling support.
authorDuncan Sands <baldrick@free.fr>
Thu, 7 Jun 2007 09:00:48 +0000 (09:00 +0000)
committerDuncan Sands <baldrick@free.fr>
Thu, 7 Jun 2007 09:00:48 +0000 (09:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37488 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/2007-05-23-TryFinally.cpp

index 5ae40d79b4fb954fe16f37b43b64c7add5e7cde3..021d528a0cedd43a3d8b0b93f6f9010615caab81 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -S -emit-llvm -O2 -o - | grep _Unwind_Resume | wc -l | grep {\[03\]}
+// RUN: %llvmgxx %s -S -emit-llvm -O2 -o - | grep -c {handle\\|_Unwind_Resume} | grep {\[14\]}
 
 struct One { };
 struct Two { };