v/vlib/v/checker/tests/fixed_array_size_err.vv

9 lines
87 B
V

const size = -1
fn main() {
a := [size]int{}
b := [0]u8{}
println(a)
println(b)
}