Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
tests
/
skip_unused
/
array_push.vv
11
lines
·
9
sloc
·
123 bytes
·
025150dec4502e849b11d3ed962b04973c270614
Raw
1
module main
2
3
struct GameObject {
4
mut:
5
children []&GameObject
6
}
7
8
fn main() {
9
mut v1 := &GameObject{}
10
v1.children << v1
11
}
12