1 // RUN: %clang -g -S -emit-llvm %s -o - | FileCheck %s
2 
3 // CHECK: !DIDerivedType(tag: DW_TAG_member, name: "p"
4 // CHECK-SAME:           baseType: ![[INT:[0-9]+]]
5 // CHECK-SAME:           DIFlagPublic
6 // CHECK: ![[INT]] = !DIBasicType(name: "int"
7 // CHECK: !DIDerivedType(tag: DW_TAG_member, name: "pr"
8 // CHECK-NOT:            flags:
9 // CHECK-SAME:           baseType: ![[INT]]
10 
11 class A {
12 public:
13   int p;
14 private:
15   int pr;
16 };
17 
18 A a;
19