reid-llvm/examples/module_impoter.reid

11 lines
215 B
Plaintext

// Arithmetic, function calls and imports!
import module_importee::Otus;
import module_importee::test;
fn main() -> u32 {
let value = 0b110;
let other = 0o17;
return value * other + test().field * -value;
}