summaryrefslogtreecommitdiff
path: root/testsuite/tests/arityanal/f0.hs
blob: f2b7794b999018b0cf6bbd4916230542b5b109f2 (plain)
1
2
3
4
5
6
module F0 where

f0 :: Int -> Int -> Int -> Int
f0 x y = if (x>0) then let v = x + y 
		       in \z -> v+z
		  else \z-> 1