mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-25 01:18:23 +00:00
13 lines
128 B
Rust
13 lines
128 B
Rust
|
|
pub fn main() -> i64 {
|
|
let mut a: i64 = 0;
|
|
|
|
hello(&mut a);
|
|
|
|
return a;
|
|
}
|
|
|
|
pub fn hello(a: &mut i64) {
|
|
*a = 2;
|
|
}
|