Fix a case where ScalarEvolution was expanding pointer arithmetic
[oota-llvm.git] / test / FrontendC++ / 2004-03-15-CleanupsAndGotos.cpp
1 // RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2
3 // Testcase from Bug 291
4
5 struct X {
6   ~X();
7 };
8
9 void foo() {
10   X v;
11
12 TryAgain:
13   goto TryAgain;
14 }