Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / debug-info-export_symbols.cpp
blob19697beaf2fc99928529da7781ea97c7dc1b46d2
1 // RUN: %clang_cc1 -emit-llvm -debug-info-kind=standalone -triple %itanium_abi_triple %s -o - | FileCheck %s
3 // CHECK: [[SCOPE:![0-9]+]] = distinct !DICompositeType({{.*}}flags: DIFlagTypePassByValue
4 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, scope: [[SCOPE]]
5 // CHECK-SAME: DIFlagExportSymbols | DIFlagTypePassByValue
6 struct A {
7 // Anonymous class exports its symbols into A
8 struct {
9 int y;
11 } a;