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