llvm-project/llvm/test/Regression/C++Frontend/2003-08-24-Cleanup.cpp.tr

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