llvm-mirror/test/C++Frontend/2003-08-20-ExceptionFail.cpp
2007-01-17 07:59:14 +00:00

13 lines
150 B
C++

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