aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/v/checker/tests/immutable_array_struct_shift.vv
blob: 89e4d6c0055e484aa905095b6b6064b77e214de9 (plain)
1
2
3
4
5
6
7
8
9
struct Aaa {
pub mut:
	i []int
}

fn main() {
	a := []Aaa{}
	a[0].i << 3
}