v2 / vlib / v / checker / tests / struct_field_private_err.vv
15 lines · 11 sloc · 128 bytes · ab5f06f36dfb9e0dbb2ab11391054643d0a849a3
Raw
1import v.checker.tests.amod
2
3_ := amod.Xyz{
4 x: 0
5}
6
7_ := amod.Bcg{
8 x: 0
9}
10
11_ := amod.Bcg2[int]{
12 x: 0
13}
14
15amod.foo(bar: 'bar')
16