diff options
Diffstat (limited to 'clang/test/CodeGenCXX/field-access-debug-info.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/field-access-debug-info.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/field-access-debug-info.cpp b/clang/test/CodeGenCXX/field-access-debug-info.cpp new file mode 100644 index 0000000..fd899ed --- /dev/null +++ b/clang/test/CodeGenCXX/field-access-debug-info.cpp @@ -0,0 +1,14 @@ +// RUN: %clang_cc1 -g -S -masm-verbose -o - %s | FileCheck %s + +// CHECK: abbrev_begin: +// CHECK: DW_AT_accessibility +// CHECK-NEXT: DW_FORM_data1 + +class A { +public: + int p; +private: + int pr; +}; + +A a; |