summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-export_symbols.cpp
blob: 19697beaf2fc99928529da7781ea97c7dc1b46d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -emit-llvm -debug-info-kind=standalone -triple %itanium_abi_triple %s -o - | FileCheck %s

// CHECK: [[SCOPE:![0-9]+]] = distinct !DICompositeType({{.*}}flags: DIFlagTypePassByValue
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, scope: [[SCOPE]]
// CHECK-SAME:                              DIFlagExportSymbols | DIFlagTypePassByValue
struct A {
 // Anonymous class exports its symbols into A
 struct {
     int y;
 };
} a;
OpenPOWER on IntegriCloud