summaryrefslogtreecommitdiff
path: root/test/C++Frontend/2006-09-27-Debug-Protection.cpp
blob: a15e86d2bd1914096812dad580c0a820e0e4e5ef (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 'uint 1,' &&
// RUN: %llvmgxx -O0 -emit-llvm -S -g -o - %s | grep 'uint 2,'

class A {
public:
  int x;
protected:
  int y;
private:
  int z;
};

A a;