Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
checker
/
tests
/
anon_structs_visibility
/
main.v
10
lines
·
9
sloc
·
160 bytes
·
017ace6ea7402430a992aa0820d5e472ebca74c7
Raw
1
import
v.checker.tests.anon_structs_visibility.amod
2
3
fn
main() {
4
foo := amod.Foo{
5
bar:
struct
{
6
baz: 1
7
}
8
}
9
println(
'foo.bar.baz == ${foo.bar.baz}'
)
10
}
11