1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -debug-info-kind=standalone -emit-llvm %s -o - | FileCheck %s
4 // CHECK: ![[B:[0-9]+]] ={{.*}}!DICompositeType(tag: DW_TAG_structure_type, name: "B"
5 // CHECK-SAME: line: [[@LINE-2]],
6 // CHECK-SAME: size: 8,
8 // CHECK-NOT: DIFlagFwdDecl
9 // CHECK-SAME: elements: ![[BMEMBERS:[0-9]+]]
10 // CHECK-SAME: identifier:
11 // CHECK: ![[BMEMBERS]] = !{![[BB:[0-9]+]]}
13 // CHECK: ![[BB]] = !DISubprogram(name: "B", scope: ![[B]]
14 // CHECK-SAME: line: [[@LINE-2]],
15 // CHECK-SAME: type: ![[TY:[0-9]+]],
16 // CHECK: ![[TY]] = !DISubroutineType(types: ![[ARGS:[0-9]+]])
17 // CHECK: ![[ARGS]] = !{null, ![[THIS:[0-9]+]], !{{[^,]+}}}
18 // CHECK: ![[THIS]] = !DIDerivedType(tag: DW_TAG_pointer_type,
19 // CHECK-SAME: baseType: ![[B]]