v/vlib/v/fmt/tests/array_decomposition_keep.vv

9 lines
83 B
V

fn varargs(a ...int) {
println(a)
}
fn main() {
a := [1, 2, 3]
varargs(...a)
}