reid-llvm/reid_src/mutable.reid

17 lines
235 B
Plaintext

// Arithmetic, function calls and imports!
fn indirection() -> bool {
return true;
}
fn main() -> u16 {
let mut test = 5;
let addition = 10;
if indirection() {
test = 11;
}
return test + addition;
}