Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
fmt
/
tests
/
allow_const_with_decl_assign_input.vv
19
lines
·
13
sloc
·
168 bytes
·
598992b2083a06ef37ae3e94855a5565b3f8ab4b
Raw
1
const a := 123
2
3
const b := 'abc'
4
5
const c := rune(123)
6
7
const d := u64(2 * c)
8
9
const f := func()
10
11
fn func() int {
12
return 42
13
}
14
15
dump(a)
16
dump(b)
17
dump(c)
18
dump(d)
19
dump(f)
20