mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
12 lines
140 B
Go
12 lines
140 B
Go
const (
|
|
a = 3
|
|
u = u64(1)
|
|
)
|
|
|
|
fn test_const() {
|
|
b := (true && true) || false
|
|
assert b == true
|
|
assert a == 3
|
|
assert u == u64(1)
|
|
}
|