summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib/should_run/list003.hs
blob: a79209443838ff5d2fa3400ea75ade3007445f80 (plain)
1
2
3
4
5
6
7
-- !!! Test that length doesn't give a stack overflow

module Main (main) where

main :: IO ()
main = print $ length $ filter odd [0 .. 9999999]