From 4dcf5e6a8a3d370bf9594632a23c0a858a7c3e7c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 5 Nov 2003 01:36:49 +0000 Subject: [PATCH] New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9718 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/C++Frontend/2003-11-04-CatchLabelName.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/C++Frontend/2003-11-04-CatchLabelName.cpp diff --git a/test/C++Frontend/2003-11-04-CatchLabelName.cpp b/test/C++Frontend/2003-11-04-CatchLabelName.cpp new file mode 100644 index 00000000000..1646f024db4 --- /dev/null +++ b/test/C++Frontend/2003-11-04-CatchLabelName.cpp @@ -0,0 +1,9 @@ +#include + +void bar(); + +void test() { + try { + bar(); + } catch (std::string) {} +}