//! returns: 55 //! stack-check //! Recursion within the stack limit in `tp` runs as without the check. /// Sum the numbers up to `n` by recursion. fn sum(n: u32) -> u32 { if n == 0 { return 0; } return n + sum(n - 1); } @default fn main() -> i32 { return sum(10) as i32; }