v/vlib/builtin/int_test.v

12 lines
140 B
Go
Raw Normal View History

2019-08-04 09:16:44 +02:00
const (
a = 3
u = u64(1)
2019-08-04 09:16:44 +02:00
)
fn test_const() {
b := (true && true) || false
assert b == true
2019-08-04 09:16:44 +02:00
assert a == 3
assert u == u64(1)
2019-08-04 09:16:44 +02:00
}