diff options
author | Devang Patel <dpatel@apple.com> | 2010-04-21 23:12:37 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-04-21 23:12:37 +0000 |
commit | 71f4ff62bcff31c67808adb08691103b469ce9be (patch) | |
tree | e60be3ab13dd8e5507036830d7daa7eb1d3ed2b8 /test/CodeGenCXX/field-access-debug-info.cpp | |
parent | 6aa14d832704ae176c92d4e0f22dfb3f3d83a70a (diff) |
Encode field accessibility.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102033 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/field-access-debug-info.cpp')
-rw-r--r-- | test/CodeGenCXX/field-access-debug-info.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGenCXX/field-access-debug-info.cpp b/test/CodeGenCXX/field-access-debug-info.cpp new file mode 100644 index 0000000000..907fe04be5 --- /dev/null +++ b/test/CodeGenCXX/field-access-debug-info.cpp @@ -0,0 +1,11 @@ +// RUN: %clang_cc1 -g -S -masm-verbose -o %t %s +// RUN: grep DW_AT_accessibility %t + +class A { +public: + int p; +private: + int pr; +}; + +A a; |