2024-07-09 15:00:04 +00:00
|
|
|
main() {
|
2024-07-28 16:47:13 +00:00
|
|
|
assert f(1, 2, 3) == 21
|
2024-07-09 15:00:04 +00:00
|
|
|
}
|
|
|
|
|
2024-08-05 16:47:24 +00:00
|
|
|
f(x Int, y Int, z Int) -> Int {
|
2024-07-09 15:00:04 +00:00
|
|
|
w := g(4, 5, 6)
|
|
|
|
return x + y + z + w
|
|
|
|
}
|
|
|
|
|
2024-08-05 16:47:24 +00:00
|
|
|
g(x Int, y Int, z Int) -> Int {
|
2024-07-09 15:00:04 +00:00
|
|
|
return x + y + z
|
|
|
|
}
|