llvm-6502/test/C++Frontend/2003-08-24-Cleanup.cpp.tr
Chris Lattner cf0e11e1cf New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8138 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-24 20:23:21 +00:00

11 lines
173 B
Plaintext

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