summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/numeric/should_run/1603.hs
blob: 09dd05a550e3131c7fa7048b5031125e2a9099a8 (plain)
1
2
3
4
5
6
7
module Main where

main = print (syn [-1])

syn :: [Int] -> [Int]
syn (d:ds) = rem d 0x40000000 : syn ds
syn [] = []