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:
parent
4aa2739696
commit
70a90d65c9
13
test/Regression/C++Frontend/2006-09-27-Debug-Protection.cpp
Normal file
13
test/Regression/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