summaryrefslogtreecommitdiff
path: root/testsuite/tests/arityanal/f9.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/arityanal/f9.hs')
-rw-r--r--testsuite/tests/arityanal/f9.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/arityanal/f9.hs b/testsuite/tests/arityanal/f9.hs
new file mode 100644
index 0000000000..e991cfd478
--- /dev/null
+++ b/testsuite/tests/arityanal/f9.hs
@@ -0,0 +1,4 @@
+module F9 where
+
+f91 = let f = \n -> if n<=100 then f (f (n+11)) else n-10
+ in f 10 \ No newline at end of file