1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/compiler/tests/mut_test.v

7 lines
64 B
Go
Raw Normal View History

2019-08-05 05:34:12 +03:00
fn test_mut() {
a := 1
mut b := &a
*b = 10
println(a)
}