v/vlib/v/checker/tests/array_pop_immutable_err.vv

8 lines
56 B
V
Raw Normal View History

fn main() {
a := [1,2,3]
dump(a)
a.pop()
dump(a)
}