1// RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin -fstandalone-debug %s -o - | FileCheck %s 2 3class Test 4{ 5public: 6 Test () : reserved (new data()) {} 7 8 unsigned 9 getID() const 10 { 11 return reserved->objectID; 12 } 13protected: 14 struct data { 15 unsigned objectID; 16 }; 17 data* reserved; 18}; 19 20Test t; 21 22// CHECK: ; [ DW_TAG_pointer_type ] 23// CHECK: ; [ DW_TAG_structure_type ] [data] 24// CHECK-NOT: ; [ DW_TAG_structure_type ] [data] 25