reid-llvm/reid_src/arithmetic.reid

10 lines
141 B
Plaintext

// Arithmetic, function calls and imports!
fn main() -> u32 {
let value = 6;
let other = 15;
return value * other + 7 * (-value);
}