v/vlib/v/checker/tests/lock_const.vv

12 lines
78 B
V

const (
a = 5
)
fn main() {
mut c := 0
rlock a {
c = a
}
println(c)
}