v/vlib/v/checker/tests/immutable_array_struct_shift.v

10 lines
71 B
V

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