1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
3 // Make sure we generate debug symbols for an indirectly referenced
4 // extension to an interface.
6 // This happens to be the order the members are emitted in... I'm assuming it's
7 // not meaningful/important, so if something causes the order to change, feel
8 // free to update the test to reflect the new order.
9 // CHECK: !DIDerivedType(tag: DW_TAG_member, name: "a"
10 // CHECK: !DIDerivedType(tag: DW_TAG_member, name: "d"
11 // CHECK: !DIDerivedType(tag: DW_TAG_member, name: "c"
12 // CHECK: !DIDerivedType(tag: DW_TAG_member, name: "b"
24 // another layer of indirection
36 void gorf (struct S* s) {