v/vlib/v/checker/tests/immutable_struct_postfix.vv

11 lines
68 B
V

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