diff options
author | Chris Lattner <sabre@nondot.org> | 2004-03-16 05:14:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-03-16 05:14:47 +0000 |
commit | a1d1fcec93a09f16a49721200ff0d342e01b5d06 (patch) | |
tree | 593295e2902c76f3bdc14073da4fa3fe5853b370 /test/C++Frontend | |
parent | 002be767333e4253df6c5477dda28890dbd3488c (diff) | |
download | external_llvm-a1d1fcec93a09f16a49721200ff0d342e01b5d06.zip external_llvm-a1d1fcec93a09f16a49721200ff0d342e01b5d06.tar.gz external_llvm-a1d1fcec93a09f16a49721200ff0d342e01b5d06.tar.bz2 |
// Testcase from Bug 291
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend')
-rw-r--r-- | test/C++Frontend/2004-03-15-CleanupsAndGotos.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
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 0000000..fc5ba35 --- /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; +} |