edlang/programs/simple.ed
2024-02-04 16:21:02 +01:00

15 lines
205 B
Plaintext

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