Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
tests
/
aliases
/
alias_to_ptr_arg_test.v
16
lines
·
13
sloc
·
143 bytes
·
6488041a749df9762348d019c4223908c476f2e2
Raw
1
struct
Foo {
2
name string
3
age int
4
}
5
6
type
Boo = &Foo
7
8
fn
foo(f Boo) {
9
println(f)
10
dump(f)
11
}
12
13
fn
test_main() {
14
foo(name:
''
)
15
assert
true
16
}
17