// Test file for JIT compilation // This uses only features the JIT supports: integers, arithmetic, conditionals, functions fn fib(n: Int): Int = if n <= 1 then n else fib(n - 1) + fib(n - 2) fn factorial(n: Int): Int = if n <= 1 then 1 else n * factorial(n - 1) fn main(): Int = { let a = fib(30) let b = factorial(10) a + b }