summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/deSugar/should_compile/ds012.hs
blob: 4ef9d8cc1d4c8b4712aeb553704c8fb14e0dbb17 (plain)
1
2
3
4
5
6
7
8
9
10
-- !!! ds012 -- simple Integer arithmetic
--
module ShouldCompile where

f x = 1 + 2 - 3 + 4 * 5

g x = x + (f x)

h x = 111111111111111111111111111111111111111111111111111111111111
    + 222222222222222222222222222222222222222222222222222222222222