mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
13 lines
110 B
V
13 lines
110 B
V
fn foo() (int, int, int) {
|
|
return 1, 2, 3
|
|
}
|
|
|
|
const (
|
|
a, b, c = foo()
|
|
)
|
|
|
|
|
|
fn main() {
|
|
println("$a $b $c")
|
|
}
|