// Testcase from Bug 291
authorChris Lattner <sabre@nondot.org>
Tue, 16 Mar 2004 05:14:47 +0000 (05:14 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 16 Mar 2004 05:14:47 +0000 (05:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12428 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/2004-03-15-CleanupsAndGotos.cpp [new file with mode: 0644]

diff --git a/test/C++Frontend/2004-03-15-CleanupsAndGotos.cpp b/test/C++Frontend/2004-03-15-CleanupsAndGotos.cpp
new file mode 100644 (file)
index 0000000..fc5ba35
--- /dev/null
@@ -0,0 +1,11 @@
+// Testcase from Bug 291
+struct X {
+  ~X();
+};
+
+void foo() {
+  X v;
+  
+TryAgain: 
+  goto TryAgain;
+}