aboutsummaryrefslogtreecommitdiffstats
path: root/test/C++Frontend
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-08-27 16:47:32 +0000
committerDuncan Sands <baldrick@free.fr>2007-08-27 16:47:32 +0000
commitd58cf123822a3d80134a7762cccde8d4ab2325b7 (patch)
tree000423d9ac6a3a2f303120747bd30dc4c0a28ece /test/C++Frontend
parente9c8fa095e503933840fa1ea41b4583817db5680 (diff)
downloadexternal_llvm-d58cf123822a3d80134a7762cccde8d4ab2325b7.zip
external_llvm-d58cf123822a3d80134a7762cccde8d4ab2325b7.tar.gz
external_llvm-d58cf123822a3d80134a7762cccde8d4ab2325b7.tar.bz2
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
Diffstat (limited to 'test/C++Frontend')
-rw-r--r--test/C++Frontend/2007-07-04-NestedCatches.cpp4
1 files 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 035d5bb..b10a5db 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);