From f796d8090e7672d1b150af0a6e65dcc39be89ae2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 20 Aug 2003 20:24:09 +0000 Subject: [PATCH] new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7989 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/C++Frontend/2003-08-20-ExceptionFail.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/C++Frontend/2003-08-20-ExceptionFail.cpp diff --git a/test/C++Frontend/2003-08-20-ExceptionFail.cpp b/test/C++Frontend/2003-08-20-ExceptionFail.cpp new file mode 100644 index 00000000000..dfad1bff8eb --- /dev/null +++ b/test/C++Frontend/2003-08-20-ExceptionFail.cpp @@ -0,0 +1,13 @@ +void foo(); + +void bar() { + struct local { + ~local() { foo(); } + } local_obj; + + try { + foo(); + } catch(...) { + } +} +