v/vlib/v/checker/tests/immutable_array_struct_shif...

10 lines
75 B
V
Raw Normal View History

2020-05-27 18:12:34 +02:00
struct Aaa {
pub mut:
i []int
}
fn main() {
2020-05-27 18:12:34 +02:00
a := []Aaa{}
a[0].i << 3
}