reid-llvm/examples/arithmetic.reid

10 lines
139 B
Plaintext

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