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

11 lines
138 B
C++
Raw Normal View History

// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | grep unwind
2003-08-24 20:23:21 +00:00
struct S { ~S(); };
int mightthrow();
int test() {
S s;
mightthrow();
}