diff options
Diffstat (limited to 'testsuite/tests/arityanal/f14.hs')
-rw-r--r-- | testsuite/tests/arityanal/f14.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/arityanal/f14.hs b/testsuite/tests/arityanal/f14.hs new file mode 100644 index 0000000000..a908b6622b --- /dev/null +++ b/testsuite/tests/arityanal/f14.hs @@ -0,0 +1,5 @@ +module F14 where
+
+f14 n x = if x<n then let v = f14 n (x+1)
+ in \y -> v (x+y)
+ else \y -> y
|