YouCompleteMe/cpp/llvm/tools/clang/test/CodeGenCXX/2004-03-15-CleanupsAndGotos.cpp

15 lines
138 B
C++
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm %s -o -
// Testcase from Bug 291
struct X {
~X();
};
void foo() {
X v;
TryAgain:
goto TryAgain;
}