mclangc/tests/parser/structs.exp

41 lines
1.0 KiB
Plaintext
Raw Normal View History

2024-12-21 03:10:03 +00:00
Program {
ast: Block(
[
Statement(
Struct {
name: Ident(
"foo_t",
),
fields: [],
},
),
Statement(
Struct {
name: Ident(
"bar_t",
),
fields: [
(
Ident(
"a",
),
Ref {
inner: Owned(
Ident(
"bar_t",
),
),
mutable: false,
},
),
],
},
),
],
2024-12-21 03:10:03 +00:00
),
structs: {},
enums: {},
types: {},
functions: {},
member_functions: {},
}