blob: 19697beaf2fc99928529da7781ea97c7dc1b46d2 [file] [log] [blame]
Shafik Yaghmour528f5da2019-08-27 20:17:35 +00001// RUN: %clang_cc1 -emit-llvm -debug-info-kind=standalone -triple %itanium_abi_triple %s -o - | FileCheck %s
2
3// CHECK: [[SCOPE:![0-9]+]] = distinct !DICompositeType({{.*}}flags: DIFlagTypePassByValue
4// CHECK: !DICompositeType(tag: DW_TAG_structure_type, scope: [[SCOPE]]
5// CHECK-SAME: DIFlagExportSymbols | DIFlagTypePassByValue
6struct A {
7 // Anonymous class exports its symbols into A
8 struct {
9 int y;
10 };
11} a;