code wiki / (root) / _offc_bisect_func_call.nx

_offc_bisect_func_call.nx source

↩ module page · 8 lines · 213 B

1// _offc_bisect_func_call.nx -- Bar-3 feature bisect: func_call_return 2 3func add(a: i64, b: i64) -> i64 { return a + b } 4func main() -> i64 { 5 let r: i64 = add(40, 2) 6 if r == 42 { return 0 } 7 return 1 8}