mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-09 17:48:24 +00:00
10 lines
130 B
Plaintext
10 lines
130 B
Plaintext
fn add(a: i32, b: i32) -> i32 {
|
|
return a + b;
|
|
}
|
|
|
|
fn main() -> i32 {
|
|
let x = 2 + 3;
|
|
let y = add(x, 4);
|
|
return y;
|
|
}
|