v/vlib/v/checker/tests/immutable_array_struct_assi...

10 lines
73 B
V

struct Aaa {
pub mut:
i []int
}
fn main() {
a := Aaa{}
a.i[0] += 3
}