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

15 lines
151 B
C++
Raw Normal View History

// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2004-11-07 06:29:57 +08:00
// Testcase from Bug 291
2004-03-16 13:18:24 +08:00
struct X {
~X();
};
void foo() {
X v;
TryAgain:
goto TryAgain;
}