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

10 lines
63 B
V
Raw Normal View History

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