Add a test to check that tail calls run in bounded stack space

This commit is contained in:
Eelco Dolstra 2013-11-12 11:31:50 +00:00
parent c897bac549
commit 2bcb384e95
2 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1 @@
100000

View file

@ -0,0 +1,3 @@
let
f = n: if n == 100000 then n else f (n + 1);
in f 0