slige/examples/add_fn.slg
2024-12-11 03:11:00 +01:00

16 lines
159 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
}
//+ a b
}