1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Make sure C++ protection shows up in debug info

llvm-svn: 30626
This commit is contained in:
Jim Laskey 2006-09-27 16:55:19 +00:00
parent 4aa2739696
commit 70a90d65c9

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;