diff options
author | Chris Lattner <sabre@nondot.org> | 2003-11-05 01:36:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-11-05 01:36:49 +0000 |
commit | 4dcf5e6a8a3d370bf9594632a23c0a858a7c3e7c (patch) | |
tree | 03674ddec54b48615fdfa5e886bf1c5b6e19463c /test/C++Frontend/2003-11-04-CatchLabelName.cpp | |
parent | 748b487ed236464b32d6896838137b5c679fa43f (diff) |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9718 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend/2003-11-04-CatchLabelName.cpp')
-rw-r--r-- | test/C++Frontend/2003-11-04-CatchLabelName.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
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 0000000000..1646f024db --- /dev/null +++ b/test/C++Frontend/2003-11-04-CatchLabelName.cpp @@ -0,0 +1,9 @@ +#include <string> + +void bar(); + +void test() { + try { + bar(); + } catch (std::string) {} +} |