aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC++/2004-03-15-CleanupsAndGotos.cpp
blob: c2e52f66dce35c0d2b3dd9fdae9e6340685cf111 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null

// Testcase from Bug 291

struct X {
  ~X();
};

void foo() {
  X v;

TryAgain:
  goto TryAgain;
}