reid-llvm/reid/examples/reid/arithmetic.reid
2025-07-05 01:41:03 +03:00

13 lines
233 B
Plaintext

// Arithmetic, function calls and imports!
fn main() {
let test = 9;
let simpleAdd = 2 + 2;
let simpleSub = 7 - 2; // 14
if simpleAdd < test {
return 3;
}
return arithmetic + simpleSub + boop;
}