v/vlib/v/tests/inout/fixed_array_index.vv

5 lines
42 B
V

a := [1,2]!
println(a[0])
i := 2
_ = a[i]