diff --git a/tests/silly/fib.tig b/tests/silly/fib.tig new file mode 100644 index 0000000..52f1b46 --- /dev/null +++ b/tests/silly/fib.tig @@ -0,0 +1,14 @@ +let + function fib(n:int):int = + if n = 0 + then + 0 + else + if n = 1 + then + 1 + else + fib(n-1) + fib(n-2) +in + print_int(fib(41)); 0 +end \ No newline at end of file