mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
10 lines
128 B
V
10 lines
128 B
V
|
const (
|
||
|
// c = a // TODO
|
||
|
a = b
|
||
|
b = 1
|
||
|
)
|
||
|
|
||
|
fn test_const() {
|
||
|
assert a == 1
|
||
|
// assert c == 1 // TODO: This will not build yet
|
||
|
}
|