v/compiler/tests/mut_test.v

7 lines
64 B
Go

fn test_mut() {
a := 1
mut b := &a
*b = 10
println(a)
}