mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-09 09:38:24 +00:00
14 lines
199 B
Plaintext
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;
|
|
}
|
|
}
|