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