// RUN: %clang_cc1 -no-opaque-pointers -emit-llvm -debug-info-kind=standalone -dwarf-version=5 %s -o - | FileCheck %s
;
// CHECK: ![[FOO:[0-9]+]] = !DICompositeType(tag: DW_TAG_structure_type, name: "Foo"
// CHECK: ![[DECL:[0-9]+]] = !DISubprogram(name: "-[Foo setBar:]",
// CHECK-SAME: scope: ![[FOO]]
// CHECK: distinct !DISubprogram(name: "-[Foo setBar:]",
// CHECK-SAME: declaration: ![[DECL:[0-9]+]]