From 140a2605afa8d1863af74625c2c62198f68b30ac Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Thu, 7 Jun 2007 09:00:48 +0000 Subject: [PATCH] Make this test pass if llvm-g++ was built without exception handling support. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/C++Frontend/2007-05-23-TryFinally.cpp b/test/C++Frontend/2007-05-23-TryFinally.cpp index 5ae40d79b4f..021d528a0ce 100644 --- a/test/C++Frontend/2007-05-23-TryFinally.cpp +++ b/test/C++Frontend/2007-05-23-TryFinally.cpp @@ -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 { }; -- 2.34.1