summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/arityanal/f14.hs
blob: a908b6622b7c2daa8393e3800d3c06ae74f805ae (plain)
1
2
3
4
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