summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore/should_compile/T21694b.hs
blob: 68f2bef2df0b2c34233d4c2f6d07064fcb97fd00 (plain)
1
2
3
4
5
6
module T21694 where

-- f should get arity 4
f x = let j 0 = \ a b c -> (a,x,b)
          j n = j (n-1 :: Int)
      in j 20