summaryrefslogtreecommitdiffstats
path: root/llvm/test/C++Frontend/2007-07-04-NestedCatches.cpp
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
commit68b773df2424af582001fc217e777e21e9cddec3 (patch)
tree6264670729c572d90da7f47593968c81ecab0b14 /llvm/test/C++Frontend/2007-07-04-NestedCatches.cpp
parentd11e4608105b5cdd00d3e0f0cd83cd1765bab7f3 (diff)
downloadbcm5719-llvm-68b773df2424af582001fc217e777e21e9cddec3.tar.gz
bcm5719-llvm-68b773df2424af582001fc217e777e21e9cddec3.zip
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. llvm-svn: 41494
Diffstat (limited to 'llvm/test/C++Frontend/2007-07-04-NestedCatches.cpp')
-rw-r--r--llvm/test/C++Frontend/2007-07-04-NestedCatches.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/C++Frontend/2007-07-04-NestedCatches.cpp b/llvm/test/C++Frontend/2007-07-04-NestedCatches.cpp
index 035d5bbcf33..b10a5db754b 100644
--- a/llvm/test/C++Frontend/2007-07-04-NestedCatches.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud