New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8138 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-08-24 20:23:21 +00:00
parent f6c3fc3a2d
commit cf0e11e1cf

View File

@ -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();
}