v/vlib/v/checker/tests/immutable_field_postfix.vv

10 lines
67 B
V

struct Aaa {
i int
}
fn main() {
mut a := Aaa{}
a.i++
a.i--
}