From a1d1fcec93a09f16a49721200ff0d342e01b5d06 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 16 Mar 2004 05:14:47 +0000 Subject: [PATCH] // Testcase from Bug 291 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 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/C++Frontend/2004-03-15-CleanupsAndGotos.cpp diff --git a/test/C++Frontend/2004-03-15-CleanupsAndGotos.cpp b/test/C++Frontend/2004-03-15-CleanupsAndGotos.cpp new file mode 100644 index 00000000000..fc5ba356178 --- /dev/null +++ b/test/C++Frontend/2004-03-15-CleanupsAndGotos.cpp @@ -0,0 +1,11 @@ +// Testcase from Bug 291 +struct X { + ~X(); +}; + +void foo() { + X v; + +TryAgain: + goto TryAgain; +}