reid-llvm/examples/arithmetic.reid

10 lines
145 B
Plaintext

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