1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/parser/tests/postfix_err_b.vv

11 lines
122 B
V

fn main(){
mut array := [3]int{}
mut arrayptr := &int(array)
for _ in 0..3 {
unsafe {
*(arrayptr++) = 0
}
}
}