Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
tests
/
options
/
option_print_ptr_test.v
14
lines
·
12
sloc
·
158 bytes
·
6488041a749df9762348d019c4223908c476f2e2
Raw
1
struct
One {
2
thing string =
'thing 1'
3
}
4
5
struct
Two {
6
maybe_one ?&One
7
}
8
9
fn
test_dump_option_ptr() {
10
a := Two{}
11
println(a)
12
println(Two{})
13
dump(Two{})
14
}
15