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

11 lines
173 B
Plaintext
Raw Normal View History

2003-08-25 04:23:21 +08:00
// 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();
}