1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/tests/const_embed_test.v

12 lines
153 B
V

import math
const (
max_float = math.max_f32
)
fn test_const_embed() {
println(max_float)
println(math.max_f32)
assert max_float == math.max_f32
}