aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC++/2006-09-27-Debug-Protection.cpp
blob: cb09bd0a974b58c2d4aeabbc76866601d5ec2ccb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %llvmgxx -O0 -emit-llvm -S -g -o - %s | grep {i32 1,}
// RUN: %llvmgxx -O0 -emit-llvm -S -g -o - %s | grep {i32 2,}
class A {
public:
  int x;
protected:
  int y;
private:
  int z;
};

A a;