Fix a case where ScalarEvolution was expanding pointer arithmetic
[oota-llvm.git] / test / FrontendC++ / 2006-09-27-Debug-Protection.cpp
1 // RUN: %llvmgxx -O0 -emit-llvm -S -g -o - %s | grep {i32 1,}
2 // RUN: %llvmgxx -O0 -emit-llvm -S -g -o - %s | grep {i32 2,}
3 class A {
4 public:
5   int x;
6 protected:
7   int y;
8 private:
9   int z;
10 };
11
12 A a;