edlang/programs/refs.ed
2024-02-19 21:09:35 +01:00

14 lines
172 B
Rust

mod Main {
pub fn main() -> i64 {
let mut a: i64 = 0;
hello(&mut a);
return a;
}
pub fn hello(a: &mut i64) {
*a = 2;
}
}