12 lines · cpp
1// RUN: %clang_cc1 -emit-llvm -debug-info-kind=standalone -triple %itanium_abi_triple %s -o - | FileCheck %s2 3// CHECK: [[SCOPE:![0-9]+]] = distinct !DICompositeType({{.*}}flags: DIFlagTypePassByValue4// CHECK: !DICompositeType(tag: DW_TAG_structure_type, scope: [[SCOPE]]5// CHECK-SAME: DIFlagExportSymbols | DIFlagTypePassByValue6struct A {7 // Anonymous class exports its symbols into A8 struct {9 int y;10 };11} a;12