summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore/should_compile/T4930.hs
blob: aeab39e39f72e7ed57ab644a0a0d1234dc90e696 (plain)
1
2
3
4
5
module T4930 where

foo :: Int -> Int
foo n = (if n < 5 then foo n else n+2)
        `seq` n+5