llvm-project/llvm/test/FrontendC++/2004-03-15-CleanupsAndGotos...

15 lines
151 B
C++

// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
// Testcase from Bug 291
struct X {
~X();
};
void foo() {
X v;
TryAgain:
goto TryAgain;
}