summaryrefslogtreecommitdiffstats
path: root/test/FrontendC++/2007-07-04-NestedCatches.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-08-19 23:08:41 +0000
committerEric Christopher <echristo@apple.com>2011-08-19 23:08:41 +0000
commit0e7128894337202ae4f368c0b14ce5909dddb84d (patch)
tree219d352ddc1fa4a9128816f9b8c9a458a562c05f /test/FrontendC++/2007-07-04-NestedCatches.cpp
parent854a7db117707658625c22e546810d564f3e20ea (diff)
downloadexternal_llvm-0e7128894337202ae4f368c0b14ce5909dddb84d.zip
external_llvm-0e7128894337202ae4f368c0b14ce5909dddb84d.tar.gz
external_llvm-0e7128894337202ae4f368c0b14ce5909dddb84d.tar.bz2
Remove obsolete or migrated tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC++/2007-07-04-NestedCatches.cpp')
-rw-r--r--test/FrontendC++/2007-07-04-NestedCatches.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/test/FrontendC++/2007-07-04-NestedCatches.cpp b/test/FrontendC++/2007-07-04-NestedCatches.cpp
deleted file mode 100644
index b10a5db..0000000
--- a/test/FrontendC++/2007-07-04-NestedCatches.cpp
+++ /dev/null
@@ -1,32 +0,0 @@
-// RUN: %llvmgxx %s -S -O2 -o - | \
-// RUN: ignore grep {eh\.selector.*One.*Two.*Three.*Four.*Five.*Six.*null} | \
-// RUN: wc -l | grep {\[01\]}
-
-extern void X(void);
-
-struct One {};
-struct Two {};
-struct Three {};
-struct Four {};
-struct Five {};
-struct Six {};
-
-static void A(void) throw ()
-{
- X();
-}
-
-static void B(void) throw (Two)
-{
- try { A(); } catch (One) {}
-}
-
-static void C(void) throw (Six, Five)
-{
- try { B(); } catch (Three) {} catch (Four) {}
-}
-
-int main ()
-{
- try { C(); } catch (...) {}
-}