2024-12-10 23:22:13 +00:00
|
|
|
|
|
|
|
|
2024-12-11 02:11:00 +00:00
|
|
|
fn main() -> int {
|
2024-12-10 23:22:13 +00:00
|
|
|
add(1, 2)
|
|
|
|
}
|
|
|
|
|
|
|
|
fn add(a: int, b: int) -> int {
|
2024-12-11 02:11:00 +00:00
|
|
|
let c = a;
|
|
|
|
let d = b;
|
|
|
|
{
|
|
|
|
let a = c;
|
|
|
|
+ a d
|
|
|
|
}
|
|
|
|
//+ a b
|
2024-12-10 23:22:13 +00:00
|
|
|
}
|