From d58cf123822a3d80134a7762cccde8d4ab2325b7 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Mon, 27 Aug 2007 16:47:32 +0000 Subject: [PATCH] Fix this test: llvm-gcc-4.2 optimizes almost everything away, resulting in zero matches, while llvm-gcc-4.1 manages to remove one pointless selector changing the number of matches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41494 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/C++Frontend/2007-07-04-NestedCatches.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/C++Frontend/2007-07-04-NestedCatches.cpp b/test/C++Frontend/2007-07-04-NestedCatches.cpp index 035d5bbcf33..b10a5db754b 100644 --- a/test/C++Frontend/2007-07-04-NestedCatches.cpp +++ b/test/C++Frontend/2007-07-04-NestedCatches.cpp @@ -1,6 +1,6 @@ -// RUN: %llvmgxx %s -S -emit-llvm -O2 -o - | \ +// RUN: %llvmgxx %s -S -O2 -o - | \ // RUN: ignore grep {eh\.selector.*One.*Two.*Three.*Four.*Five.*Six.*null} | \ -// RUN: wc -l | grep {\[02\]} +// RUN: wc -l | grep {\[01\]} extern void X(void);