New testcase

llvm-svn: 8138
This commit is contained in:
Chris Lattner 2003-08-24 20:23:21 +00:00
parent e4dd312eff
commit b795561c37
1 changed files with 10 additions and 0 deletions

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