summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/exactprint/LayoutLet4.expected.hs
blob: b3c52f424e5fc5bcc08c9b590b6c63cfd7ad1972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
module LayoutLet4 where

-- Simple let expression, rename xxx to something longer or shorter
-- and the let/in layout should adjust accordingly
-- In this case the tokens for xxx + a + b should also shift out

foo xxxlonger = let a = 1
                    b = 2
                in xxxlonger + a + b

bar = 3