mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-09 09:38:24 +00:00
16 lines
218 B
Plaintext
16 lines
218 B
Plaintext
mod Main {
|
|
|
|
pub fn main(argc: i32) -> i32 {
|
|
let mut x: i32 = 2;
|
|
x = 4;
|
|
a();
|
|
return x + 2;
|
|
}
|
|
|
|
pub fn a() {
|
|
let mut x: i32 = 2;
|
|
x = 4;
|
|
return;
|
|
}
|
|
}
|