hanchenye-llvm-project/llvm/test/FrontendC++/2003-08-24-Cleanup.cpp

11 lines
138 B
C++

// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | grep unwind
struct S { ~S(); };
int mightthrow();
int test() {
S s;
mightthrow();
}