1 // RUN: %clang_cc1 -no-opaque-pointers -emit-llvm -debug-info-kind=standalone -dwarf-version=5 %s -o - | FileCheck %s
6 @interface NSObject <NSObject> {}
12 @property struct Bar *bar;
15 @interface Foo <BarProto>
18 @implementation Foo {}
19 @synthesize bar = _bar;
23 // CHECK: ![[FOO:[0-9]+]] = !DICompositeType(tag: DW_TAG_structure_type, name: "Foo"
25 // CHECK: ![[DECL:[0-9]+]] = !DISubprogram(name: "-[Foo setBar:]",
26 // CHECK-SAME: scope: ![[FOO]]
28 // CHECK: distinct !DISubprogram(name: "-[Foo setBar:]",
29 // CHECK-SAME: declaration: ![[DECL:[0-9]+]]