edlang/programs/simple.ed
2024-02-03 12:06:16 +01:00

14 lines
199 B
Plaintext

mod Main {
fn main(argc: i32) -> i32 {
let mut x: i32 = 2;
x = 4;
let y: i32 = other(2);
return x;
}
fn other(a: i32) -> i32 {
return a;
}
}