mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
6 lines
133 B
Plaintext
6 lines
133 B
Plaintext
struct A { mut: v int } struct B { a A } struct C { mut: b B } struct D { mut: c C }
|
|
mut d := D{} d.c.b = B{}
|
|
'OK'
|
|
===output===
|
|
OK
|