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

10 lines
63 B
V

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