mirror of
https://git.sfja.dk/Mikkel/slige.git
synced 2025-01-18 10:56:30 +00:00
15 lines
147 B
Plaintext
15 lines
147 B
Plaintext
|
|
fn main() -> int {
|
|
add(1, 2)
|
|
}
|
|
|
|
fn add(a: int, b: int) -> int {
|
|
let c = a;
|
|
let d = b;
|
|
{
|
|
let a = c;
|
|
a + d
|
|
}
|
|
}
|
|
|