reid-llvm/reid/examples/reid/mutable.reid

16 lines
201 B
Plaintext

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