mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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:
parent
259bda48e2
commit
b05969e2f7
13
test/C++Frontend/2006-09-27-Debug-Protection.cpp
Normal file
13
test/C++Frontend/2006-09-27-Debug-Protection.cpp
Normal 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;
|
Loading…
Reference in New Issue
Block a user