Make sure C++ protection shows up in debug info

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30626 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey 2006-09-27 16:55:19 +00:00
parent 259bda48e2
commit b05969e2f7

View File

@ -0,0 +1,13 @@
// 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;