summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/2004-03-15-CleanupsAndGotos.cpp
blob: 01350c00b9bd19c779d6a0709347c9603c44953c (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %clang_cc1 -emit-llvm %s -o -

// Testcase from Bug 291

struct X {
  ~X();
};

void foo() {
  X v;

TryAgain:
  goto TryAgain;
}