llvm-project/llvm/test/FrontendC++/2003-08-20-ExceptionFail.cpp

13 lines
147 B
C++

// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
void foo();
void bar() {
struct local {
~local() { foo(); }
} local_obj;
foo();
}