From: Chris Lattner Date: Sun, 24 Aug 2003 20:23:21 +0000 (+0000) Subject: New testcase X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cf0e11e1cf403c980f5bedf7089a1e9ca0f9f290;p=oota-llvm.git New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8138 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/C++Frontend/2003-08-24-Cleanup.cpp.tr b/test/C++Frontend/2003-08-24-Cleanup.cpp.tr new file mode 100644 index 00000000000..690303545f5 --- /dev/null +++ b/test/C++Frontend/2003-08-24-Cleanup.cpp.tr @@ -0,0 +1,10 @@ +// RUN: llvmg++ -xc++ 2003-08-24-Cleanup.cpp.tr -c -o - | dis | grep 'call void %llvm.unwind' + +struct S { ~S(); }; + +int mightthrow(); + +int test() { + S s; + mightthrow(); +}