summaryrefslogtreecommitdiff
path: root/test/C++Frontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-05 01:36:49 +0000
committerChris Lattner <sabre@nondot.org>2003-11-05 01:36:49 +0000
commit4dcf5e6a8a3d370bf9594632a23c0a858a7c3e7c (patch)
tree03674ddec54b48615fdfa5e886bf1c5b6e19463c /test/C++Frontend
parent748b487ed236464b32d6896838137b5c679fa43f (diff)
downloadllvm-4dcf5e6a8a3d370bf9594632a23c0a858a7c3e7c.tar.gz
llvm-4dcf5e6a8a3d370bf9594632a23c0a858a7c3e7c.tar.bz2
llvm-4dcf5e6a8a3d370bf9594632a23c0a858a7c3e7c.tar.xz
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')
-rw-r--r--test/C++Frontend/2003-11-04-CatchLabelName.cpp9
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) {}
+}