Fix a buggy constant folding transformation when handling aliases.
[oota-llvm.git] / test / C++Frontend / 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
4 class A {
5 public:
6   int x;
7 protected:
8   int y;
9 private:
10   int z;
11 };
12
13 A a;