Fix a case where ScalarEvolution was expanding pointer arithmetic
[oota-llvm.git] / test / FrontendC++ / 2003-08-20-ExceptionFail.cpp
1 // RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2
3 void foo();
4
5 void bar() {
6   struct local {
7     ~local() { foo(); }
8   } local_obj;
9
10   foo();
11 }
12