1 // XFAIL: target-arm && linux-gnu
2 // UNSUPPORTED: system-windows
3 //
4 // Test to verify we are correctly generating anonymous flags when parsing
5 // anonymous class and unnamed structs from DWARF to the a clang AST node.
6 
7 // RUN: %clangxx_host -g -c -o %t.o %s
8 // RUN: lldb-test symbols -dump-clang-ast %t.o | FileCheck %s
9 
10 struct A {
11   struct {
12     int x;
13   };
14   struct {
15     int y;
16   } C;
17 } a;
18 
19 // CHECK: A::(anonymous struct)
20 // CHECK: |-DefinitionData is_anonymous pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal
21 // CHECK: A::(anonymous struct)
22 // CHECK: |-DefinitionData pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal
23