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

11 lines
68 B
V
Raw Normal View History

2020-05-27 18:12:34 +02:00
struct Aaa {
mut:
i int
}
fn main() {
2020-05-27 18:12:34 +02:00
a := Aaa{}
a.i++
a.i--
}