You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
691 B
23 lines
691 B
// XFAIL: target-arm && linux-gnu
|
|
// UNSUPPORTED: system-windows
|
|
//
|
|
// Test to verify we are correctly generating anonymous flags when parsing
|
|
// anonymous class and unnamed structs from DWARF to the a clang AST node.
|
|
|
|
// RUN: %clangxx_host -g -c -o %t.o %s
|
|
// RUN: lldb-test symbols -dump-clang-ast %t.o | FileCheck %s
|
|
|
|
struct A {
|
|
struct {
|
|
int x;
|
|
};
|
|
struct {
|
|
int y;
|
|
} C;
|
|
} a;
|
|
|
|
// CHECK: A::(anonymous struct)
|
|
// CHECK: |-DefinitionData is_anonymous pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal
|
|
// CHECK: A::(anonymous struct)
|
|
// CHECK: |-DefinitionData pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal
|