xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/field-access-debug-info.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc // RUN: %clang -g -S -emit-llvm %s -o - | FileCheck %s
2f4a2713aSLionel Sambuc 
3*0a6a1f1dSLionel Sambuc // CHECK: [ DW_TAG_member ] [p] [{{[^]]*}}] [public] [from int]
4*0a6a1f1dSLionel Sambuc // CHECK: [ DW_TAG_member ] [pr] [{{[^]]*}}] [from int]
5f4a2713aSLionel Sambuc 
6f4a2713aSLionel Sambuc class A {
7f4a2713aSLionel Sambuc public:
8f4a2713aSLionel Sambuc   int p;
9f4a2713aSLionel Sambuc private:
10f4a2713aSLionel Sambuc   int pr;
11f4a2713aSLionel Sambuc };
12f4a2713aSLionel Sambuc 
13f4a2713aSLionel Sambuc A a;
14