7 lines
64 B
Go
7 lines
64 B
Go
|
fn test_mut() {
|
||
|
a := 1
|
||
|
mut b := &a
|
||
|
*b = 10
|
||
|
println(a)
|
||
|
}
|