1struct A {
2 struct {
3 int x = 1;
4 };
5} a;
6
7struct B {
8 // Anonymous struct inherits another struct.
9 struct : public A {
10 int z = 3;
11 };
12} b;
13
14int main(int argc, char **argv) { return 0; }
15

source code of lldb/test/API/commands/target/anon-struct/main.cpp