New testcase
authorChris Lattner <sabre@nondot.org>
Wed, 5 Nov 2003 01:36:49 +0000 (01:36 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 5 Nov 2003 01:36:49 +0000 (01:36 +0000)
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 [new file with mode: 0644]

diff --git a/test/C++Frontend/2003-11-04-CatchLabelName.cpp b/test/C++Frontend/2003-11-04-CatchLabelName.cpp
new file mode 100644 (file)
index 0000000..1646f02
--- /dev/null
@@ -0,0 +1,9 @@
+#include <string>
+
+void bar();
+
+void test() {
+  try {
+    bar();
+  } catch (std::string) {}
+}