summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/exactprint/LayoutLet2.expected.hs
blob: 8da499ce3a2632a7502f549dca250134dd7a7509 (plain)
1
2
3
4
5
6
7
8
module LayoutLet2 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