// time-comparison.el — Duration < Duration is type-checked at codegen time. // Both operands are DurationLits (postfix literals). Codegen routes through // el_duration_lt; the runtime returns 1 when 5.minutes < 1.hour holds. // `test` is reserved; using `run_test` instead. fn run_test() -> Bool { return 5.minutes < 1.hour } fn main() -> Void { if run_test() { println("1") } else { println("0") } }