aboutsummaryrefslogtreecommitdiff
path: root/test/C++Frontend/2006-09-27-Debug-Protection.cpp
blob: 87bc0d595adfd3e51412a94645f016058e758e22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// XFAIL: llvmgcc3
// 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;