slige-mirror/compiler/program.slg
2025-02-03 08:52:54 +01:00

12 lines
122 B
Plaintext

fn add(lhs: int, rhs: int) -> int {
lhs + rhs
}
fn main() {
let a = 5;
let b = 7;
let c = add(a, b);
}